LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-02-2004, 06:09 PM   #1
klanux
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
SIOCADDRT: No such device


Hi,

I have installed Mandrake 10 and I have problems with my eth0 configuration, and I can't connect to internet.
Please, could you help me?

I give you the information I know.
If you need more information please tell me, and I will send you.
I'm newbie...
thank you very much!!!
Clara

I use ADSL (wi-fi router, but by now I've taken off my PCI Adapter Wireless, just to avoid problems).
I have a "windows partition" and there I can connect to internet without any problem.

with 'ping "any url"' I obtain '"ping: unknown host "any url"'

with ping 192.168.2.1 I obtain "connect: Network is unreachable"

with ipconfig eth0 I obtain:
eth0 Link encap:Ethernet HWaddr 00:0E:A6:79:EB:7E
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x9800

in /var/log/security.log I find:

ifplugd (eth0) [1045]: Using interface eth0 00:0E:A6:79:EB:7E with driver <sis900> (version: v1.08.07 11/02/2203)

ifplugd (eth0) [1045]: Using detection mode: SIOCGMIIPHY

ifplugd (eth0) [1045]: Inicialization complete, link beat detected.

ifplugd (eth0) [1045]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.

dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 inverval 8 <27>Aug 2 16:31:17 dhclient: send_packet: Network is down

ifplugd (eth0) [1045]: client: Determining IP information for eth0...SIOCSIFFLAGS: Device or resource busy

ifplugd (eth0) [1045]: client: SIOSCIFFLAGS: Device or resource busy

dhclient: send_packet: Network is down

last message repeatec 4 times

ifplugd (eth0) [1045]: Killing child

network: s'està iniciant la interfície eth0: failed
 
Old 08-02-2004, 11:34 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
looks like your ethernet device doesn't get an ip via dhcp. you may try assigning a fixed ip somewhere in the configuration files from you mandrake sys. anyway you can assign one manual with

"ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up"

so it will be 192.168.1.2. you should get results back when pinging that interface. if it's allright add a route to your gateway (will likely be your router).

"route add default gw 192.168.1.1" <- ip of your router.

try ping the router to see if he's reachable. if you've further questions send them in or have a look at www.tldp.org. there are a lot of useful howtos helping you getting various things to work. (linux network admin..)

sl mritch.
 
1 members found this post helpful.
Old 08-03-2004, 08:42 AM   #3
klanux
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi!
Thank you very much for your advise.
I've tried but it still doesn't work:

with ifconfig eth0 192.168.2.2 netmask 255.255.255.0 up

it says:
SIOCSIFFLAGS: Device or resource busy
SIOCSIFFLAGS: Device or resource busy

if I do:
ping 192.168.2.2

it says:
64 bytes from 192.168.2.7: icmp-seq= ttl=64 time=0,126ms a lot of times, until it stops

what else could I do?

Thank you very much!
Clara
 
Old 08-09-2004, 09:31 AM   #4
klanux
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
solved: SIOCSIFFLAGS: Device or resource busy

Hi,

I've managed to solve the problem:

I've changed the BIOS, disabling the option Plug & Play O/S (settint it to "No").
Then I've started Linux Mandrake 10 and I have been able to connect to internet, with no other changes.

Allthough I've a Windows "partition", I can enter Windows and everything works all right, by the moment.

Thank you very much to all!
I hope this will help anyone else,
Bye!

Clara
 
Old 01-16-2010, 09:51 PM   #5
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Rep: Reputation: 17
Talking

Quote:
Originally Posted by mritch View Post
looks like your ethernet device doesn't get an ip via dhcp. you may try assigning a fixed ip somewhere in the configuration files from you mandrake sys. anyway you can assign one manual with

"ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up"

so it will be 192.168.1.2. you should get results back when pinging that interface. if it's allright add a route to your gateway (will likely be your router).

"route add default gw 192.168.1.1" <- ip of your router.

try ping the router to see if he's reachable. if you've further questions send them in or have a look at www.tldp.org. there are a lot of useful howtos helping you getting various things to work. (linux network admin..)

sl mritch.
OH. MY. GOD. THANK YOU SO MUCH!

I have a sort of custom debian distro here, and after lots of package changing, the network stuff stopped working. It should have been using DHCP, but I could only ping IP addresses, name resolution would not work. Thanks to you, those two steps got things in high gear

And sorry if I'm bumping an old thread.
 
  


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
SIOCADDRT: No such device NooDleZ Slackware 2 06-05-2004 08:35 AM
SIOCADDRT: No such device! NooDleZ Linux - Networking 2 06-05-2004 02:19 AM
SIOCADDRT : Network is Unreachable nishi_k_79 Linux - Networking 1 10-16-2003 12:18 PM
what is SIOCADDRT? c12ayon Linux - Newbie 5 10-12-2003 04:02 PM
SIOCADDRT: Network is unreachable shyam Linux - Networking 16 09-10-2003 08:00 AM


All times are GMT -5. The time now is 10:06 PM.

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