[Lilux-help] on/off problems with IP

Brent Frère Brent at BFrere.net
Tue May 4 14:31:36 CEST 2004



alex a écrit :

>On Tuesday 04 May 2004 10:48,begin   Serge Marelli wrote:
>  
>
>>Hi,
>>
>>I normally access the Net via the cable.
>>Sometimes, when I boot my computer, I don't have an IP address.  This is
>>usually because for one reason or the other I've unplugged my
>>cable-modem.  So I plug the modem back in and... nada... still no IP
>>(even if I wait).
>>So I usually have to reboot :(
>>
>>My question : is there a way to force the system to recognize that the
>>network (cable-modem) plugged to eth0 is back up and that it should
>>request an IP address (via DHCP)?
>>
>>Would something like
>>
>>~ # ifconfig eth0 down
>>~ # ifconfig eth0 up
>>
>>work?
>>    
>>
>Of course
>  
>
No. Ifconfig down up just stops the interface and restarts it. It does 
not triggers the dhcp client.

>Or simply restart the network:
>/etc/rc.d/network restart
>  
>
This should do the trick.

>Al
>
>_______________________________________________
>Lilux-help mailing list
>Lilux-help at lilux.lu
>http://lilux.lu/mailman/listinfo/lilux-help
>  
>

-- 
Brent Frère

Private e-mail:  Brent at BFrere.net

Postal address: 5, rue de Mamer
               L-8280 Kehlen
               Grand-Duchy of Luxembourg
               European Union

Mobile: +352-021/29.05.98
Fax:    +352-26.30.05.96
Home:   +352-307.341
URL:    http://BFrere.net 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lilux.lu/pipermail/lilux-help/attachments/20040504/d66efcd6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Brent.vcf
Type: text/x-vcard
Size: 411 bytes
Desc: not available
URL: <http://lilux.lu/pipermail/lilux-help/attachments/20040504/d66efcd6/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3383 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lilux.lu/pipermail/lilux-help/attachments/20040504/d66efcd6/attachment.bin>


More information about the Lilux-help mailing list