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

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

Antonio Coralles wrote:
[snip]
I'm using 1.9.4-r6 which is the latest version in x86; Is there a way to
start pump without local.start and without switching to ~x86 for
baselayout ?
config_eth0=( "dhcp" )
should be enough, additionally you can specify options for pump with:
pump_eth0="..."
this is explained in /etc/conf.d/net.example, the gziped version from
1.9.4-r6 is attached (in case you loose it during an etc-update).

Thanks very much; yes, i lost this file during an etc-update;
One last question (sorry): If i start pump that way, will it still use
/etc/pump.conf as config file ?
antonio
probably, on my box it run as:
/sbin/pump --hostname=fantasia --win-client-ident --interface eth0
no command line changes to config file and man page show that it read 
/etc/pump.conf by default

--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
--
gentoo-user@gentoo.org mailing list


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

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

> Antonio Coralles wrote:
> [snip]
>>
>> I'm using 1.9.4-r6 which is the latest version in x86; Is there a way to
>> start pump without local.start and without switching to ~x86 for
>> baselayout ?
>>
>
> config_eth0=( "dhcp" )
>
> should be enough, additionally you can specify options for pump with:
> pump_eth0="..."
>
> this is explained in /etc/conf.d/net.example, the gziped version from
> 1.9.4-r6 is attached (in case you loose it during an etc-update).
>
>
Thanks very much; yes, i lost this file during an etc-update;
One last question (sorry): If i start pump that way, will it still use
/etc/pump.conf as config file ?
antonio

--
gentoo-user@gentoo.org mailing list



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

2005-04-04 Thread Bastian Balthazar Bux
Antonio Coralles wrote:
[snip]
I'm using 1.9.4-r6 which is the latest version in x86; Is there a way to
start pump without local.start and without switching to ~x86 for
baselayout ?
config_eth0=( "dhcp" )
should be enough, additionally you can specify options for pump with: 
pump_eth0="..."

this is explained in /etc/conf.d/net.example, the gziped version from 
1.9.4-r6 is attached (in case you loose it during an etc-update).

HIH
--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.


net.example.gz
Description: Binary data


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

2005-04-04 Thread Antonio Coralles

To switch from dhcpcd to pump i did:
#emerge pump;
#rc-update del net.eth0 default;
#echo "pump" >> /etc/conf.d/local.start

antonio

>>>
>>>sorry for the late answer,
>>>local.start should be not needed. Only put the following line:
>>>
>>>config_eth0=( "dhcp" )
>>>
>>>in your /etc/conf.d/net, work for me
>>
>>
>> Did you leave iface_eth0="dhcp" ?
>> Besides, thanks for your tipp, pump works fine !
>>
>>
> no, this stuff is managed from baselayout, my version is:
> sys-apps/baselayout-1.11.10-r6
> --
> 

I'm using 1.9.4-r6 which is the latest version in x86; Is there a way to
start pump without local.start and without switching to ~x86 for
baselayout ?

--
gentoo-user@gentoo.org mailing list



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

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

Antonio Coralles wrote:
gentoo-user@gentoo.org  wrote:

gentoo-user@gentoo.org 
 wrote:

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.
Ok, pump merged ... Will my net.eth0 script now use pump automatically
after unmerging dhcpd or are some further interventions needed ?
antonio
Ok, i'm anserwing myself - maybe this is interresting to somebody:
To switch from dhcpcd to pump i did:
#emerge pump;
#rc-update del net.eth0 default;
#echo "pump" >> /etc/conf.d/local.start
antonio
sorry for the late answer,
local.start should be not needed. Only put the following line:
config_eth0=( "dhcp" )
in your /etc/conf.d/net, work for me

Did you leave iface_eth0="dhcp" ?
Besides, thanks for your tipp, pump works fine !

no, this stuff is managed from baselayout, my version is:
sys-apps/baselayout-1.11.10-r6
--
gentoo-user@gentoo.org mailing list


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

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

> Antonio Coralles wrote:
>> gentoo-user@gentoo.org  wrote:
>>
>>
>>>gentoo-user@gentoo.org 
>  wrote:
>>>
>>>
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.

>>>
>>>Ok, pump merged ... Will my net.eth0 script now use pump automatically
>>>after unmerging dhcpd or are some further interventions needed ?
>>>antonio
>>>
>>
>> Ok, i'm anserwing myself - maybe this is interresting to somebody:
>> To switch from dhcpcd to pump i did:
>> #emerge pump;
>> #rc-update del net.eth0 default;
>> #echo "pump" >> /etc/conf.d/local.start
>>
>> antonio
>>
> sorry for the late answer,
> local.start should be not needed. Only put the following line:
>
> config_eth0=( "dhcp" )
>
> in your /etc/conf.d/net, work for me

Did you leave iface_eth0="dhcp" ?
Besides, thanks for your tipp, pump works fine !

>
> -- 
> No problem is so formidable that you can't walk away from it.
> ~ Charles M. Schulz
> But sometimes run fast is better
> ~ Francesco R.
> --
> gentoo-user@gentoo.org  mailing list
>

--
gentoo-user@gentoo.org mailing list



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

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

gentoo-user@gentoo.org  wrote:

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.
Ok, pump merged ... Will my net.eth0 script now use pump automatically
after unmerging dhcpd or are some further interventions needed ?
antonio
Ok, i'm anserwing myself - maybe this is interresting to somebody:
To switch from dhcpcd to pump i did:
#emerge pump;
#rc-update del net.eth0 default;
#echo "pump" >> /etc/conf.d/local.start
antonio
sorry for the late answer,
local.start should be not needed. Only put the following line:
config_eth0=( "dhcp" )
in your /etc/conf.d/net, work for me
--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
--
gentoo-user@gentoo.org mailing list


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

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

> gentoo-user@gentoo.org  wrote:
>
>> 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.
>>
> Ok, pump merged ... Will my net.eth0 script now use pump automatically
> after unmerging dhcpd or are some further interventions needed ?
> antonio
>
Ok, i'm anserwing myself - maybe this is interresting to somebody:
To switch from dhcpcd to pump i did:
#emerge pump;
#rc-update del net.eth0 default;
#echo "pump" >> /etc/conf.d/local.start

antonio


--
gentoo-user@gentoo.org mailing list



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

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

> 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.
>
Ok, pump merged ... Will my net.eth0 script now use pump automatically
after unmerging dhcpd or are some further interventions needed ?
antonio
--
gentoo-user@gentoo.org mailing list



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

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

>
> 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.
>
I'm using baselayout 1.9.4-r6 ... According to genloop the last time i
updated it was 
Tue Oct 26 09:35:43 2004 but my problem occured about one week ago.

--
gentoo-user@gentoo.org mailing list



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

2005-04-01 Thread Nick Rout
On Thu, 2005-03-31 at 21:38 +0200, Antonio Coralles wrote:
> Dave Nebinger wrote:

> Is it possible to tell dhcpd to wait longer for a response, or eaven
> retry automatically in periodic time intervals if not succesfull ?

man dhcpcd
cat /etc/conf.d/net

you will find out how to change the timeout if you read those two pieces
of documentation :)


> 
> antonio
> --
> gentoo-user@gentoo.org mailing list
> 
-- 
Nick Rout <[EMAIL PROTECTED]>

--
gentoo-user@gentoo.org mailing list



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

2005-03-31 Thread Antonio Coralles

>> Is it possible to tell dhcpd to wait longer for a response, or eaven
>> retry automatically in periodic time intervals if not succesfull ?
>
> Yep.  Check the man pages and it should tell you what options to put
> in your
> config file.

Well, i looked at the man page and found that the timeout can specified
by dhcpcd -t   . After some further explorations throgh the
manpage and the net.eth0 script, my attention focused on the file
/etc/conf.d/net, where i found the comment '# For passing options to
dhcpcd use dhcpcd_eth?'. Thus, is it correct to add 'dhcpcd_eth0="-t
120" to this file ?

thanks,
antonio

--
gentoo-user@gentoo.org mailing list



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

2005-03-31 Thread Dave Nebinger
> # during boot ##
> Mar 31 15:31:31 [kernel] NET: Registered protocol family 10
> Mar 31 15:31:31 [net.agent] add event not handled
> # guess this line is the problem #
> Mar 31 15:32:07 [dhcpcd] timed out waiting for a valid DHCP server
> response_
> # guess this line is the problem #
> # during boot ##
> # manual restart of the script #
> Mar 31 15:32:09 [su(pam_unix)] session opened for user root by
> antonio(uid=1000)
> Mar 31 15:32:25 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
> Mar 31 15:33:45 [dhcpcd] terminating on signal 2_
> Mar 31 15:33:47 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
> Mar 31 15:33:56 [dhcpcd] terminating on signal 2_
> Mar 31 15:34:02 [rc-scripts] ERROR:  "net.eth0" has not yet been started.
> Mar 31 15:34:08 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
> Mar 31 15:35:31 [su(pam_unix)] session closed for user root
> # manual restart of the script #

Looks to me like eth0 is coming up fine, from the perspective that it is
active.  But since the dhcp is failing, you aren't getting a valid ip
address and that gives the appearance that the network is not up.

> Is it possible to tell dhcpd to wait longer for a response, or eaven
> retry automatically in periodic time intervals if not succesfull ?

Yep.  Check the man pages and it should tell you what options to put in your
config file.



--
gentoo-user@gentoo.org mailing list



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

2005-03-31 Thread Antonio Coralles
Dave Nebinger 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 .
>
> Anything in the system logs?  Any errors reported by dmesg?

Well, dmesg looked fine, but I maybe found something in
/var/log/everything/current:

# during boot ##
Mar 31 15:31:31 [kernel] NET: Registered protocol family 10
Mar 31 15:31:31 [net.agent] add event not handled
# guess this line is the problem #
Mar 31 15:32:07 [dhcpcd] timed out waiting for a valid DHCP server response_
# guess this line is the problem #
# during boot ##
# manual restart of the script #
Mar 31 15:32:09 [su(pam_unix)] session opened for user root by
antonio(uid=1000)
Mar 31 15:32:25 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Mar 31 15:33:45 [dhcpcd] terminating on signal 2_
Mar 31 15:33:47 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Mar 31 15:33:56 [dhcpcd] terminating on signal 2_
Mar 31 15:34:02 [rc-scripts] ERROR:  "net.eth0" has not yet been started.
Mar 31 15:34:08 [kernel] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Mar 31 15:35:31 [su(pam_unix)] session closed for user root
# manual restart of the script #

Is it possible to tell dhcpd to wait longer for a response, or eaven
retry automatically in periodic time intervals if not succesfull ?

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