Network settings
Donald Wayne Chandler
mrwchandler84 at yahoo.com
Sat Sep 2 00:40:41 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hi Tod,
I thought I was doing the same things you listed, but something keeps
changing the line in /etc/network/interfaces to "iface eth0 inet dhcp".
Again, I have to change "System >Administration Networking" back to
the profile I named "Home" (the only profile I have created), then add
iface eth0 inet static
address 192.168.X.X
netmask 255.255.255.0
gateway 192.168.X.X
back into the interfaces file.
I'm trying to resolve this so I can cut down on headaches and medicinal
alcohol.
Thanks,
Wayne
Tod Merley wrote:
> On 9/1/06, Donald Wayne Chandler <mrwchandler84 at yahoo.com> wrote:
> I have 6.06 LTS on my Dell Inspiron 700m laptop on a home DSL
> connection. The network setting keeps defaulting to DHCP when I boot
> up, and it won't connect. Even though I have a network profile created,
> I have to manually set gksu network-admin to Static IP, and edit
> /etc/network/interfaces to remove the "auto eth0" entry.
>
> Am I doing something wrong with gksu network-admin, or is there a better
> network app I could be using?
>
>>
- --
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
> Hi Donald Wayne Chandler!
> If it were not for the fact that our little DSL modem's DNS nameserver
> will not handle IPv6-DNS queries I would gladly use it's DHCP server
> to obtain and set my IP settings. As it is, setting up a static IP (I
> hope my IP never changes it's nameserver addresses) is an easy "fix"
> to this problem
> "gksu network-admin" is what the "launcher" of "System >Administration
Networking" is and is what I used to set up my static IP. Please
> note my /etc/network/interfaces file:
> tod at tod-desktop:~$ cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
> iface eth0 inet static
> address 192.168.X.X
> netmask 255.255.255.0
> gateway 192.168.X.X
> auto eth1
> iface eth1 inet dhcp
> auto eth2
> iface eth2 inet dhcp
> auto ath0
> iface ath0 inet dhcp
> auto wlan0
> iface wlan0 inet dhcp
> auto eth0
> tod at tod-desktop:~$
> I have never edited this file!! The system works fine and comes up
> with the network and Internet access active.
> When I was in the "Network Settings" window I clicked on the "Ethernet
> connection" and then hit the "Properties" button. In the resulting
> "Interface properties" window I checked the "Enable this connection"
> box chose "Static IP address" in the "Configuration" drop down and set
> up the IP address, subnet mask, and gateway address. I then hit the
> "OK" button and then clicked the DNS tab and then added the DNS
> (name)server I found present when I had allowed the DHCP server in our
> DSL modem to set up the networking for the box (the one that was not
> the box on our NAT'ed net). You can see the DNS nameserver IP's and
> domain names in /etc/resolv.conf.
> Here is the result of ifconfig (a few "X"s thrown in for privacy - as above):
> tod at tod-desktop:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:10:4D:A1:8D:A5
> inet addr:192.168.X.X Bcast:192.168.X.255 Mask:255.255.255.0
> inet6 addr: fe80::210:4bff:fe21:8da1/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4979 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3010 errors:0 dropped:0 overruns:0 carrier:0
> collisions:1 txqueuelen:1000
> RX bytes:6341909 (6.0 MiB) TX bytes:389903 (380.7 KiB)
> Interrupt:10 Base address:0x9800
> 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:15 errors:0 dropped:0 overruns:0 frame:0
> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:932 (932.0 b) TX bytes:932 (932.0 b)
> tod at tod-desktop:~$
> Good Hunting!
> Tod
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE+NF7kf1GiUoANSwRA2h+AKDYeg2/XsYVNhavHbxqOMeo4pUW6QCeMWh+
q6xj8Exs6Kkt4Kgv+rRdXRY=
=yP7P
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list