Page 1 of 1

Network slow to come up.

Posted: 14 May 2010, 12:23
by Joste
Maybe this should be in networking...

Anyway, my problem is that the network comes up about a minute after the desktop does, this causes several problems not least of which being network shares failing to mount. It seems to have started after I was seeing if a wireless adapter I had would work (for no reason other than curiosity), and think it may be trying to bring up the wlan first causing the delay. I have found a file called wlan.conf shown below - the question is should I just comment out everything that isn't already? I have tried removiing the connection using the MCC but it doesn't appear to have helped. Is there something else I should look into?


Code: Select all

WLAN_DEVICES="wlan0"

# Below is the list of channels to scan, when we scan.
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
# Below is the min and max time we linger on a channel during a scan.
ChannelMinTime=200
ChannelMaxTime=250
# And here we have the master scan toggle.
WLAN_SCAN=n

# if you want temporary files to go elsewhere, change this.
TMPDIR=/tmp

##########
# Note:  To bind to a specific network, change the SSID to something different
#        and create the file /etc/wlan/wlancfg-<SSID> with your network-
#        specific settings.  If this file is not present, the settings in
#        /etc/wlancfg/wlancfg-DEFAULT are used.
#
# for example:
#    SSID_wlan0="linux-wlan"
# This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present.
#
# Use a SSID of "" to associate with any network in range.
#########

SSID_wlan0=""
ENABLE_wlan0=y
#SSID_wlan1=""
#ENABLE_wlan1=n
#SSID_wlan2=""
#ENABLE_wlan2=n


Mandriva 2010.0 all current updates.KDE 4.3.5

Re: Network slow to come up.

Posted: 14 May 2010, 13:08
by viking60
Try to deactivate Ipv6 in the Network center->Advanced functions(or something - I have the Norwegian version). If that does not help I'll send out my ravens to our mighty Guru :!:

Re: Network slow to come up.

Posted: 14 May 2010, 13:27
by Joste
I was absolutely sure I already had IPv6 disabled - it appears not. So I disabled it and rebooted - it seems a little quicker but still about 40s late - ideally I want it started before X.

I am timing it using Konversation - when it fails to connect it retries every ten seconds, disabling IPv6 has got it down from about 8 retries to about 4.

Re: Network slow to come up.

Posted: 15 May 2010, 13:20
by viking60
Well - while we are waiting for the heavy duty Gurus; I have had some success with entering manual DNS:
208.67.222.222
208.67.220.220

This has given me some speed. You see, the DNS can be the reason, and in that case it does not matter how much you tweak on your end. Assuming you get your DNS automatically via DHCP.

You can click on your network symbol and remove the check mark in DHCP DNS something and add the DNS given above. Also you need to register om http://opendns.com
to get your very own control panel (free of course). It is neat it, is fast, and also gives you filtering possibilities, where you can exclude spaming and fishing sites.
It also takes some of the power from your ISP - dividing power is good :T (Montesquieu one of the Architects behind the French revolution that also was the benchmark for the American constitution - you know, in the pre Microsoft days :lol: )
Restart your connection and you are surfing faster with Opendns.

Re: Network slow to come up.

Posted: 15 May 2010, 15:05
by dedanna1029
Am not a wireless person; don't even want to be, so here's in the hope that Rolf can answer, or DiBosco (*maybe* Samwise). The only wireless in my house is my cell phone (because that's the only phone I can get right now), and even that only does phone calls and text messaging.

Re: Network slow to come up.

Posted: 16 May 2010, 04:13
by rolf
Something is stirring in memory but the specter is not showing its face. Maybe it is a service daemon that has a long timeout and is not needed.

Code: Select all

[root@localhost rolf]# chkconfig --list
acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
arkwui          0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
avahi-daemon    0:off   1:off   2:off   3:on    4:off   5:on    6:off   7:off
coherence       0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
cpufreq         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
dm              0:off   1:off   2:off   3:off   4:off   5:on    6:off   7:on
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on
hddtemp         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
httpd           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
irqbalance      0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
jexec           0:on    1:on    2:on    3:on    4:on    5:on    6:on    7:off
kheader         0:off   1:off   2:on    3:on    4:off   5:on    6:off   7:off
lm_sensors      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:on
mandi           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
messagebus      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:on
msec            0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
mysqld          0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
mythbackend     0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
network-auth    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
network-up      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
nfs-common      0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
numlock         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on
partmon         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
portreserve     0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
postfix         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
preload         0:off   1:off   2:off   3:off   4:off   5:on    6:off   7:off
resolvconf      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
rpcbind         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
shorewall       0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
smartd          0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:on
udev-post       0:off   1:on    2:on    3:on    4:on    5:on    6:off   7:off
vnstat          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off


Reader's Digest version, based on the theory a service is on for your machine and off for mine, where there is no such delay for network:

Code: Select all

[root@localhost rolf]# chkconfig --list|grep 5:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
network-auth    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
vnstat          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off


Beyond that,

Code: Select all

[root@localhost rolf]# less /var/log/messages


Maybe scroll through that and look for something waiting for a timeout.

Re: Network slow to come up.

Posted: 16 May 2010, 20:17
by Joste
Todays output from cat /var/log/messages: http://pastebin.mandriva.com/18510
I can't see anything - ethernet starts coming up at line 499 - I would have thought it would come up way sooner, I am sure it used to, I know when I run puppy linux it comes up way before X.

I can't see anything that means anything to me when running the other commands - but I don't really know what I am looking for...
There are certainly more lines, wlan is there but always off.

chkconfig --list

Code: Select all

acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on                   
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off                 
apmd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
avahi-daemon    0:off   1:off   2:off   3:on    4:off   5:on    6:off   7:off
bpalogin        0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
dm              0:off   1:off   2:off   3:off   4:off   5:on    6:off   7:on
g15daemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on
hcfpci          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
hddtemp         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
hsf             0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
irqbalance      0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
kheader         0:off   1:off   2:on    3:on    4:off   5:on    6:off   7:off
lm_sensors      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
lvm2-monitor    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
mandi           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
mdadm           0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
messagebus      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:on
msec            0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
network-auth    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
network-up      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
nfs-common      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
ntpd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
numlock         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:on
partmon         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
preload         0:off   1:off   2:off   3:off   4:off   5:on    6:off   7:off
resolvconf      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
rpcbind         0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
shorewall       0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
snmpd           0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
speech-dispatcherd      0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:off
sshd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off   7:on
udev-post       0:off   1:on    2:on    3:on    4:on    5:on    6:off   7:off
vdr             0:off   1:off   2:off   3:on    4:on    5:on    6:off   7:off
vnstat          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
wlan            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off


chkconfig --list|grep 5:off

Code: Select all

apmd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
bpalogin        0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
hcfpci          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
hsf             0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
lvm2-monitor    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
mdadm           0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
network-auth    0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
nfs-common      0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
ntpd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
sshd            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
vnstat          0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off
wlan            0:off   1:off   2:off   3:off   4:off   5:off   6:off   7:off

Re: Network slow to come up.

Posted: 16 May 2010, 20:40
by rolf
In MCC > System > Manage System Services is the gui for chkconfig. nfs-common has to do with network shares, it seems (if you click the Info button), and it is enabled on mine, not yours, although I don't have network shares.