Jump to content

ipconfig for Linux


Lennart
 Share

Recommended Posts

Hi guys. I have a bit of a problem. Whenever I reboot into a different os my internet connection won't work. First boot no problem, every reboot that follows into whichever os: problem. When working in WinXP, before rebooting I do an ipconfig/release *kal* (may be language-specific), I reboot e.g. into Xandros and I have no problem. When rebooting back into Windows however: no internet connection.

Is there a ipconfig /release equivalent for Linux if so: what is it? Is there another solution?

I have adsl (router) and use dhcp.

All tips/ideas/suggestions most welcome.

Edited by Lennart
Link to comment
Share on other sites

  • 3 weeks later...

Sorry, didn't work (or?)

 

[root@h81n2fls33o888 lennart]# pump --release

bash: pump: command not found

[root@h81n2fls33o888 lennart]# dhclient -r

Internet Software Consortium DHCP Client V3.0.1rc13

Copyright 1995-2002 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

 

sit0: unknown hardware address type 776

sit0: unknown hardware address type 776

Listening on LPF/sit0/

Sending on LPF/sit0/

Listening on LPF/lo/

Sending on LPF/lo/

Listening on LPF/eth0/00:e0:4c:49:37:8a

Sending on LPF/eth0/00:e0:4c:49:37:8a

Sending on Socket/fallback

Link to comment
Share on other sites

Lennart.

 

Try:

$ su

$ ifconfig

 

Gets me the following:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:24:E9:C4:AC
         inet addr:<the address assigned by router>  Bcast:>machine's bcast addy>  Mask:255.255.255.0
         inet6 addr: fe80::2a0:24ff:fee9:c4ac/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:866 errors:0 dropped:0 overruns:0 frame:0
         TX packets:907 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:541786 (529.0 Kb)  TX bytes:144204 (140.8 Kb)
         Interrupt:10 Base address:0xef00

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:576 errors:0 dropped:0 overruns:0 frame:0
         TX packets:576 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:50646 (49.4 Kb)  TX bytes:50646 (49.4 Kb)

 

Works for me on a 10-CE installation. Good luck.

 

Cheers!

Ci

Edited by Ciinien
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...