I just bought a new wireless router to replace a dying old thing.<br>It's a Netgear N300 wireless router that also has 4 downstream "fast" ethernet ports.<br>I used an Ubuntu (10.4.1) machine to configure it by running the CD that came with it,<br>
with the Ubuntu machine wired to one of the downstream ports. During the process,<br>it told me there was a firmware update, which I duly had it download. This process<br>told me that in order to avoid conflict with my ISP it was changing it's own IP to<br>
10.0.0.1. Because its upstream was actually a router of mine, and there's another one<br>I suppose it was avoiding having both use 192.168.1.255.<br><br>In any event, I now cannot get the ubuntu machine reconfigured. I try and try, and <br>
I still don't get the right stuff.<br><br>Right now, it responds to 'ifconfig' with what I think is correct:<br clear="all"><span style="font-family: courier new,monospace;">% sudo ifconfig</span><br><span style="font-family: courier new,monospace;">eth0 Link encap:Ethernet HWaddr 00:23:ae:0e:75:c9 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> inet6 addr: fe80::223:aeff:fe0e:75c9/64 Scope:Link</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> RX packets:489 errors:0 dropped:0 overruns:0 frame:0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> TX packets:2602 errors:0 dropped:0 overruns:0 carrier:0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> collisions:0 txqueuelen:1000 </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> RX bytes:52829 (52.8 KB) TX bytes:112384 (112.3 KB)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Interrupt:16 </span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">lo Link encap:Local Loopback </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> inet addr:127.0.0.1 Mask:255.0.0.0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> inet6 addr: ::1/128 Scope:Host</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> UP LOOPBACK RUNNING MTU:16436 Metric:1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> RX packets:1955 errors:0 dropped:0 overruns:0 frame:0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> TX packets:1955 errors:0 dropped:0 overruns:0 carrier:0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> collisions:0 txqueuelen:0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> RX by</span>tes:191358 (191.3 KB) TX bytes:191358 (191.3 KB)<br>
<br>However, the routes are messed up, and I cannot get System->Preferences->Network Connections<br>to save changes to routes, and they look like this<br><span style="font-family: courier new,monospace;">%sudo route -n</span><br>
<span style="font-family: courier new,monospace;">Kernel IP routing table</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Destination Gateway Genmask Flags Metric Ref Use Iface</span><br>
<span style="font-family: courier new,monospace;">64.166.164.54 0.0.0.0 255.255.255.255 UH 0 0 0 eth0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">10.0.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">0.0.0.0 64.166.164.54 0.0.0.0 UG 0 0 0 eth0</span><br style="font-family: courier new,monospace;">
<br>Of which only the second line makes sense. Mind you, the rest made sense when this thing was running<br>in its prior regime, I just can't get it to go away and allow me to put the right stuff in there.<br><br>I want to ditch all route lines that have IPs starting with 64 or 169.<br>
I want the default gateway to be 10.0.0.1 (the router)<br><br>BTW, the router's upstream is a static IP, which is working fine for the machines that connect to it wirelessly.<br>Unfortunately, this ubuntu machine is a laptop I dropped a while back, with casualties to the hinges and the<br>
wireless. It's been repurposed as a desktop, and I need the wired network to work. For reasons of geometry,<br>I don't have a long enough cable (30' or so) to connect it directly to the other network equipment, but even<br>
if I did, I'd like to learn what I'm missing about Ubuntu network setup. So I want to solve the problem, not<br>work around it.<br><br>Help, anyone please. I'll RTFM if you point me to the right one.<br><br>
-- <br>Kevin O'Gorman, PhD<br><br>