Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-04-03 Thread Bastian Balthazar Bux
Antonio Coralles wrote:
gentoo-user@gentoo.org wrote:

Sometimes [about 1 in 3 times] my internet connection does not work
directly after booting. After restarting the net.eth0 script all is
fine. As this behavour is rather new to me, and this is a bit annyoing
[particullary for people without root access] i would like to know if
someone has had similar problems and/or any ideas .
[snip]
antonio
I had this too on my at home computer.
No time to investigate it. Emereged "net-misc/pump" and it work all the 
times.

If you found why dhcpcd wont always work please let us know.
TIA Francesco
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-04-03 Thread Antonio Coralles
gentoo-user@gentoo.org wrote:

> Sometimes [about 1 in 3 times] my internet connection does not work
> directly after booting. After restarting the net.eth0 script all is
> fine. As this behavour is rather new to me, and this is a bit annyoing
> [particullary for people without root access] i would like to know if
> someone has had similar problems and/or any ideas .
>
> Here is the  output of rc-update show (only active components are listed):
>
> alsasound | boot
> bootmisc | boot
> checkfs | boot
> clock | boot
> coldplug | boot
> consolefont | boot
> domainname |  default
> famd |  default
> hostname | boot
> hotplug | boot
> keymaps | boot
> local |  default nonetwork
> localmount | boot
> metalog |  default
> modules | boot
> net.eth0 |  default
> net.lo | boot
> netmount |  default
> rmnologin | boot
> serial | boot
> urandom | boot
> xdm |  default
>
> Maybe this is also helpfull:
> Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5,
> glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
>
>
Well, i've investigated this problem i bit now:
The problem doesn't seem to be the timeout of dhcpd or some strange
hotplug quirks. Normally, when i watched my system booting, i saw
something like '* Bringing eth0 up by DHCPD [OK]' . This line is no
longer there, allthough net.eth0 is in my default runlevel, and when I
start it manually i see this. Besides, net.eth0 doesn't apear in
rc-status [directly after booting]... . I've allready tried removing and
readding eth0 to the default runlevel, well I eaven tried to add it to
the boot runlevel - without sucess, it doesn't show up during boot, and
i've to restart the script manually sometimes to get a working
connection to the internet. Is it possible that it conficts with another
script ?

antonio


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-04-01 Thread Stroller
On Mar 31, 2005, at 8:01 pm, Antonio Coralles wrote:
Maybe this is also helpfull:
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
Which version of baselayout are you using, please? I can't pretend to 
be an expert on it, but I have done some experimentation with the 
testing ebuilds around 1.11.10 & this sort of behaviour sounds kinda 
familliar.

Stroller.
--
gentoo-user@gentoo.org mailing list


RE: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread Dave Nebinger
> You could also try setting up ifplugd.  If nothing else, it would allow
> your users to reset the network by removing and reinserting the network
> cable.

That's not something I'd let *my* users do  ;-)


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread Richard Fish
Best guess, I would say that you need to increase your dhcpcd timeout. 
You are probably not getting a response from your DHCP server in the
time allowed.

You could also try setting up ifplugd.  If nothing else, it would allow
your users to reset the network by removing and reinserting the network
cable.

-Richard

Antonio Coralles wrote:

>Sometimes [about 1 in 3 times] my internet connection does not work
>directly after booting. After restarting the net.eth0 script all is
>fine. As this behavour is rather new to me, and this is a bit annyoing
>[particullary for people without root access] i would like to know if
>someone has had similar problems and/or any ideas .
>
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread Christoph Eckert

> Sometimes [about 1 in 3 times] my internet connection does
> not work directly after booting. After restarting the
> net.eth0 script all is fine. As this behavour is rather new
> to me, and this is a bit annyoing [particullary for people
> without root access] i would like to know if someone has
> had similar problems and/or any ideas .
>
> Here is the  output of rc-update show (only active
> components are listed):
>
> alsasound | boot
> bootmisc | boot
> checkfs | boot
> clock | boot
> coldplug | boot
> consolefont | boot
> domainname |      default
> famd |      default
> hostname | boot
> hotplug | boot

I use USB-audio-cards. When unplugging them, it can happen 
that my keyboard and DSL-connection are dead.

You also have hotplug in your runlevels; maybe something weird 
goes on on your machine, too.

In my case, the problem seems to be that both my 
usb-audio-cards doe register as 'human input device' on the 
bus. THe manufacturers do so to prevent windows to load its 
generic usb-audio-driver :( .


 Best regards


ce

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread A. Khattri
On Thu, 31 Mar 2005, Antonio Coralles wrote:

> Sometimes [about 1 in 3 times] my internet connection does not work
> directly after booting. After restarting the net.eth0 script all is
> fine. As this behavour is rather new to me, and this is a bit annyoing
> [particullary for people without root access] i would like to know if
> someone has had similar problems and/or any ideas .

Do you use DHCP?

Have you checked cables?

-- 

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread Dave Nebinger
> Sometimes [about 1 in 3 times] my internet connection does not work
> directly after booting. After restarting the net.eth0 script all is
> fine. As this behavour is rather new to me, and this is a bit annyoing
> [particullary for people without root access] i would like to know if
> someone has had similar problems and/or any ideas .

Anything in the system logs?  Any errors reported by dmesg?

Any failures of net startups would be identified in one of those two places.



--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] sometimes internet works only after /etc/init.d/net.eth0 restart

2005-03-31 Thread Mike Turcotte
Before restarting net.eth0, check to see if you are properly receiving
an IP address from a DHCP server, if not using static IP addressing

Michael Turcotte
Information Systems
City of North Bay
200 McIntyre St. E
PO Box 360
North Bay, Ontario
P1B 8H8
 
[EMAIL PROTECTED]
http://www.cityofnorthbay.ca 

> -Original Message-
> From: Antonio Coralles [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 31, 2005 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: [gentoo-user] sometimes internet works only after
> /etc/init.d/net.eth0 restart
> 
> Sometimes [about 1 in 3 times] my internet connection does not work
> directly after booting. After restarting the net.eth0 script all is
> fine. As this behavour is rather new to me, and this is a bit annyoing
> [particullary for people without root access] i would like to know if
> someone has had similar problems and/or any ideas .
> 
> Here is the  output of rc-update show (only active components are
listed):
> 
> alsasound | boot
> bootmisc | boot
> checkfs | boot
> clock | boot
> coldplug | boot
> consolefont | boot
> domainname |  default
> famd |  default
> hostname | boot
> hotplug | boot
> keymaps | boot
> local |  default nonetwork
> localmount | boot
> metalog |  default
> modules | boot
> net.eth0 |  default
> net.lo | boot
> netmount |  default
> rmnologin | boot
> serial | boot
> urandom | boot
> xdm |  default
> 
> Maybe this is also helpfull:
> Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5,
> glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
> 
> Thanks,
> antonio
> 
> --
> gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list