LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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
 
LinkBack Search this Thread
Old 07-13-2003, 11:13 PM   #1
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Rep: Reputation: 30
network activation error


I am trying to set up a smb network never have set up a network before but i have read a few things and think i understand most of it except when i try to activate the network it says

Determining ip info for eth0... iptables:No chain/target/match by that name

SIOCSIFFLAGS: cannot assign requseted addres
SIOCSIFFLAGS: cannot assign requseted addres
failed
iptables:Bad rule (does a matching rule exist in that chain?)

i havent tryed to fool with it much but is there maby somthing to do with iptables or dhcp
i have also tryed to use bootp but it alwas said check conection
maby the cat 5 cable is messed up
 
Old 07-13-2003, 11:36 PM   #2
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Does your NIC gets an IP by DHCP??
 
Old 07-14-2003, 08:11 PM   #3
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Original Poster
Rep: Reputation: 30
how do i know?
 
Old 07-14-2003, 09:46 PM   #4
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
MMMM.... is your linux connected to the internet?

What kind of internet service do you have??

Are you just trying to connect your linux box to a windoze one?

If you just want to connect your linux box to a win box you have to set your ip manually try:

for example:

ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up

Then you have to set an IP to your win box, something like 192.168.0.2
 
Old 07-16-2003, 04:57 AM   #5
amritsari
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 9.0
Posts: 3

Rep: Reputation: 0
Angry same problem - someone please help !

I'm a newbie. I just installed RH 9.0 on two dual boot windoze machines. They are connected through wire to a cable modem. The ethernet network on neither machine gets activated. I get the error message posted in the original email. please please help.
 
Old 07-16-2003, 04:34 PM   #6
sujte
Member
 
Registered: Jul 2003
Posts: 48

Rep: Reputation: 15
Hey, I am having the same problem. I have a linux box connected to a hub, then a dsl modem. I get the exact same errors with I set it up to use DHCP. The modem also acts as a router and is supposed to deliver an IP to the Linux box, but it doesn't work for some reason. It works fine with my mac and XP machines though. If you, or someone else finds an answer please let me know. I'll do the same.
 
Old 07-16-2003, 06:06 PM   #7
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
my experience of linux dhcp networking:

if you are using a dhcp internet/network connection, and want to use it on a linux box, you need to check for the presence of a dhcp client on my nice new linux router its called dhcpcd, on my old router its called dhclient )

guru's please correct me if i am wrong, but my understanding of the two is the following:

dhclient: will look at the network ( provided its state is up and working ) and ask for an ip address, when it has your ip address ( + any other settings the server gives ) it will apply it to your network card and then quit

dhcpcd: will do every thing dhclient does except it does not quit ( its a daemon ( a program that runs in the background ) ) it stays running and when your dhcp says right your ip lease is up ( you have a time limit on some servers ) dhcpcd re-requests, either the same, or a new ip address and re-applys those settings to your network adapter

first of all, here are a few things you should check

1. do you have the correct network card drivers loaded? sometimes you may need to specify extra options for the kernel module

2. type ifconfig can you see eth0 and lo ? before or after you run your network script


see what you get and get back to us
 
Old 07-17-2003, 03:24 AM   #8
amritsari
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 9.0
Posts: 3

Rep: Reputation: 0
problem fixed

I thought I would have to learn the guts of iptables but didn't need to.
These are the steps I followed:
start network configurator gui (system tools -> network)
make sure the ethernet connection is not using aliases, i.e. it should only say eth0, not eth0:1 (my installed configuration had this for some unknown reason). I believe DHCP does not work with aliases.
click on DHCP
make sure DNS route field is empty. for some reason my field said "localdomain", and consequently it would never resolve IP addresses.
This is under the DNS tab.

This should fix the problem.
 
Old 07-18-2003, 09:42 AM   #9
sujte
Member
 
Registered: Jul 2003
Posts: 48

Rep: Reputation: 15
After working with this problem for a day or so, I determined that the problem might have been with the ethernet card itself. It was an old one, and the installation guide did say that Red Hat couldn't guarantee compatibility with older hardware. Also, on the network panel, LInux did not identify my ethernet card as a specific model and so just called it 'generic' or 'compatible'.

So I went to Fry's, bought a new ethernet card for 10 bucks, installed it and everything (network, web) came up automatically. Life is beautiful again.
 
Old 07-18-2003, 09:49 AM   #10
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
excellent!

just one question for you:

who is fry ? ( is he the one from every one favorite cartoon, Futurerama? and does he have a friend called bender )
 
Old 07-18-2003, 02:40 PM   #11
sujte
Member
 
Registered: Jul 2003
Posts: 48

Rep: Reputation: 15
Fry's is a store here in Dallas. Lots of cool toys.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange error Bonobo Activation Server nwalthall Linux - General 1 01-19-2005 02:44 AM
RH network configuration error 8 during USR Pro Modem activation kingcobrawoods Linux - Networking 1 09-26-2004 04:03 PM
Network card activation mukiwa Fedora 3 08-22-2004 06:53 AM
Modem Activation Error Paul Mon Linux - Software 1 10-23-2003 07:52 AM
Modem Activation ppp0 error 8 Paul Mon Linux - Hardware 3 10-23-2003 05:29 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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