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