LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ultra slow gnome login on ubuntu linux. Suspected network issues (https://www.linuxquestions.org/questions/linux-networking-3/ultra-slow-gnome-login-on-ubuntu-linux-suspected-network-issues-332348/)

ShaneK 06-10-2005 08:26 PM

Ultra slow gnome login on ubuntu linux. Suspected network issues
 
Hi everyone,

I recently installed Ubuntu linux, and it worked wonderfully until I started monkeying around with the network settings. My internet connection is through Verizon, ADSL, with the router using DHCP.

GNOME now takes about 10-15 minutes to login from the graphic login. It used to work in a few seconds.

I had tried to set a static network address from the network GUI, but I found that it didn't work (couldn't get on the internet) I tried to switch it back. I'd set it back to dhcp in the network GUI, but when I closed out the GUI, it would crash.

So, I edited the /etc/network/interfaces file by hand. Now, it takes this ridiculous amount of time to login to GNOME. I had also installed Firestarter at about the same time as monkeying with the settings, so I tried uninstalling it. Same problem.

Here's what I did in the /etc/network/interfaces file:

Had (after monkeying around):

iface lo inet loopback

iface eth0 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0


Changed it to:

iface lo inet loopback

iface eth0 inet dhcp

auto eth0



One other interesting thing that I tried is to boot the computer, and before logging in at the GUI login interface, switch to tty1, login as root, and do:


Code:

ifdown -a
then, I'll switch back to tty7, and login. Everything logs in as it should. I also have internet access, even after doing the ifdown!

:scratch:

runlevel0 06-11-2005 05:20 AM

I would change your ether card address to 192.168.1.2.

As your netmask is 255.255.255.0 and the router's IP is 192.168.1.1 it will only allow connections from the range 192.168.1.[1-255] (0 excluded).

If your network doesn't has many machines you should use a static configurations as it goes up during the boot process

codec 06-11-2005 07:45 AM

a bad network setting would slow down the bootup, I had the same problems when I try to share my 56k to other pc at home.

- for home network, use 192.168.x.x. subnet 255.255.255.0
- if your gateway/router is 192.168.1.1, then use 192.168.1.x for the clients ip.
- static ip is recommended. You can disable the dhcp server
- make sure both internet connection and lo is enabled in ifconfig

check this out. It saved my life:
http://www.aboutdebian.com/network.htm


All times are GMT -5. The time now is 03:53 AM.