{"id":965,"date":"2007-08-16T13:46:46","date_gmt":"2007-08-16T19:46:46","guid":{"rendered":"http:\/\/nicheplayer.net\/wordpress\/?page_id=965"},"modified":"2007-09-11T11:10:45","modified_gmt":"2007-09-11T16:10:45","slug":"wifi","status":"publish","type":"page","link":"https:\/\/nicheplayer.net\/avablog\/tech\/wifi\/","title":{"rendered":"WiFi"},"content":{"rendered":"<p>My current project is to expand my WiFi network at the house.  Materials needed include:<\/p>\n<ul>\n<li>Broadband connection (obtained)<\/li>\n<li>Router (obtained)<\/li>\n<li>Antenna (needed; I&#8217;m looking <a href=\"http:\/\/www.radiolabs.com\/products\/antennas\/2.4gig\/high-gain-wifi-antenna.php\">here<\/a>)<\/li>\n<li>Cabling (needed; again, <a href=\"http:\/\/www.radiolabs.com\/products\/cables\/cable.php\">here<\/a>)<\/li>\n<\/ul>\n<p>I&#8217;ll also have to determine how this network will look.  How difficult can it be?  When all&#8217;s said and done, I hope to have a nice strong signal throughout the property&#8230;and beyond.<\/p>\n<p>The new Linksys <a href=\"http:\/\/www.linksys.com\/servlet\/Satellite?c=L_Product_C2&#038;childpagename=US%2FLayout&#038;cid=1133202177241&#038;pagename=Linksys%2FCommon%2FVisitorWrapper\">WRT54GL <\/a>will be here tomorrow (08\/22\/07).  Then, tomorrow night, I&#8217;ll flash the Linksys with the <a href=\"http:\/\/www.dd-wrt.com\/wiki\/index.php\/WRT54G_v4_Installation_Tutorial\">DD-WRT firmware<\/a> and prepare to embark on my VLAN adventure.  I like the word <em>embark<\/em>.<\/p>\n<p><strong>08.24.07:<\/strong>  I have the DD-WRT firmware loaded to the WRT54GL v1.1, and it seems to be working fine.  Next step is to get the VLANs working.  Here&#8217;s what I&#8217;ve done so far:<\/p>\n<p><strong>Command line:<\/strong><\/p>\n<p>nvram set vlan0ports=&#8221;3 2 1 5*&#8221;<br \/>\nnvram set vlan3hwname=et0<br \/>\nnvram set vlan3ports=&#8221;0 5&#8243;<br \/>\nnvram set rc_startup=&#8221;ifconfig vlan3 192.168.2.1 netmask 255.255.255.0&#8243;<br \/>\nnvram set rc_firewall=&#8217;<br \/>\niptables -I FORWARD -i vlan1 -o vlan3 -j ACCEPT<br \/>\niptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT<br \/>\niptables -I INPUT -i vlan3 -j ACCEPT<br \/>\niptables -I INPUT -i vlan1 -j ACCEPT<\/p>\n<p>nvram commit<\/p>\n<p><strong>Setup\/VLANs:<\/strong> Uncheck Port 4 from VLAN0 and check Port 4 on VLAN3<br \/>\n<strong>DNS Masq:<\/strong><\/p>\n<p>interface=vlan3<br \/>\ninterface=eth1<br \/>\ndhcp-range=192.168.2.192.168.2.200,14d<\/p>\n<p>I think I might be missing a couple things, per <a href=\"http:\/\/www.geek-pages.com\/articles\/latest\/dd-wrt_-_setting_up_a_separate\/isolated_vlan_on_port_4_with_dhcp.html\">this page<\/a> (<a href=\"http:\/\/nicheplayer.net\/vlans.pdf\">PDF<\/a>).  It&#8217;ll be really cool if I can get all this working.  My original plan was to do the VLAN at the access point, but I may as well do it at the router now and leave the ap alone.  I&#8217;ll leave the radio running on the Linksys and use it to connect to my WLAN, while the ap provides the &#8220;public&#8221; Internet signal.<\/p>\n<p><strong>8.30.07:<\/strong>  I&#8217;m still at it!  Here&#8217;s the latest, from last night:<\/p>\n<p>Last night I made another run at the VLAN setup on my GLv1.1 running v23 SP2.  I did the following, taken from <a href=\"http:\/\/www.dd-wrt.com\/phpBB2\/viewtopic.php?t=1160&#038;highlight=vlan\">this thread<\/a>:<\/p>\n<p>1.  Formatted my VLANs page like <a href=\"http:\/\/img459.imageshack.us\/my.php?image=vlans3ar.jpg\">this<\/a>.<\/p>\n<p>2.  SSHed in an added these lines, one at a time, at the prompt:<\/p>\n<p><code>nvram set vlan0ports=\"3 2 1 5*\"<br \/>\nnvram set vlan2hwname=et0<br \/>\nnvram set vlan2ports=\"0 5\"<\/code><\/p>\n<p>3.  Entered this on into the Commands box in the GUI:<\/p>\n<p><code>ifconfig vlan2 192.168.2.1 netmask 255.255.255.0<\/code><\/p>\n<p>and hit Save Startup.<\/p>\n<p>4.  Under DNSmasq, entered this:<\/p>\n<p><code>interface=vlan2<br \/>\ninterface=vlan1<br \/>\ninterface=vlan0<br \/>\ninterface=eth1<br \/>\ndhcp-range=192.168.1.100,192.168.1.200,24h<br \/>\ndhcp-range=192.168.2.100,192.168.2.200,24h<\/code><\/p>\n<p>and clicked Save Changes.<\/p>\n<p>5.  Disable the DHCP server and reboot.<\/p>\n<p>Following these changes, I attached my AP1200 to port 4, but it didn&#8217;t pick up any Internet traffic.  I can access the setup pages for the router at 192.168.0.1 [i]and[\/i] 192.168.1.1.  I tried turning the DHCP server back on and rebooting the GL and the AP1200, but there was no love to be had.<\/p>\n<p>Reading over this again, I see something stupid I did.  I have my router&#8217;s IP range set at 192.168.0.1, and the entries I put in listed the first DHCP range starting 192.168.1.100, which would be the default settings for the router.<\/p>\n<p>I think I need to do a hard reset of the router and start over using this latest directions here.  Oh, and I&#8217;ll have to make sure I add this text:<\/p>\n<p><code>interface=vlan2<br \/>\ndhcp-range=192.168.2.100,192.168.2.200,24h<\/code><\/p>\n<p>in Step 4 instead of the text that&#8217;s there now.<\/p>\n<p><strong>09.11.07:<\/strong>  Made another run at it last night and couldn&#8217;t get it to work.  It&#8217;s clear I&#8217;m changing <em>something<\/em>, because I notice some network oddness, but I don&#8217;t have any way to tell whether what I&#8217;m doing is working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My current project is to expand my WiFi network at the house. Materials needed include: Broadband connection (obtained) Router (obtained) Antenna (needed; I&#8217;m looking here) Cabling (needed; again, here) I&#8217;ll also have to determine how this network will look. How difficult can it be? When all&#8217;s said and done, I hope to have a nice [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":964,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-965","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P9oLlO-fz","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/pages\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":0,"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/pages\/965\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/pages\/964"}],"wp:attachment":[{"href":"https:\/\/nicheplayer.net\/avablog\/wp-json\/wp\/v2\/media?parent=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}