LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-25-2004, 02:05 PM   #1
Thorkyl
LQ Newbie
 
Registered: Nov 2003
Distribution: Suse 9.0
Posts: 20

Rep: Reputation: 0
ifconfig eth0 up


As su or user

ifconfig eth0 down
ifconfig eth0 up

does nothing on my ThinkPad 600x

Actuall pulling the PCMCIA card out and waiting for the second beep
then puting it back in is the only way to get a new/renewed IP address.

Any ideas?

I dont like jerking the card
 
Old 05-25-2004, 02:16 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Try running:
dhcclient
 
Old 05-25-2004, 08:01 PM   #3
Thorkyl
LQ Newbie
 
Registered: Nov 2003
Distribution: Suse 9.0
Posts: 20

Original Poster
Rep: Reputation: 0
dhcclient

mmm...

ok I feel stupid

I dont have dhcclient on my machine

next...
 
Old 05-26-2004, 08:40 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
"ifconfig eth0 up" doesnt work if your ethernet get ip from DHCP.
try:
ifdown eth0
ifup eth0
 
Old 05-26-2004, 08:45 AM   #5
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
You also can try to restart the whole network:

/etc/init.d/network restart
 
Old 06-28-2004, 05:53 PM   #6
Thorkyl
LQ Newbie
 
Registered: Nov 2003
Distribution: Suse 9.0
Posts: 20

Original Poster
Rep: Reputation: 0
LuggerHouse

Thats what I was looking for

Thanks
 
Old 06-29-2004, 03:43 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
you may try to start the pcmcia services earlier than the network services

Change the Snnpcmcia to something lower than Snnnetwork. That is, if pcmcia starts as S24pcmcia and network starts at S10network, you can make pcmcia start at S09pcmcia.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ifconfig eth0 drdarkman Linux - Networking 2 01-30-2005 12:16 PM
ifconfig eth0 drdarkman Linux - Networking 1 01-24-2005 11:40 PM
eth0 not running ifconfig calderonr Linux - Networking 1 01-16-2004 02:14 AM
eth0 removed from ifconfig after dhcpcd eth0 johnklvr Linux - Networking 3 01-15-2004 09:21 PM
ifconfig.eth0 incomplete? Bert Linux From Scratch 13 11-04-2002 08:45 PM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration