LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   network activation error (https://www.linuxquestions.org/questions/linux-networking-3/network-activation-error-72482/)

matt_w_lambert 07-13-2003 11:13 PM

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

angelrod 07-13-2003 11:36 PM

Does your NIC gets an IP by DHCP??

matt_w_lambert 07-14-2003 08:11 PM

how do i know?

angelrod 07-14-2003 09:46 PM

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

amritsari 07-16-2003 04:57 AM

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.

sujte 07-16-2003 04:34 PM

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.

antken 07-16-2003 06:06 PM

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

amritsari 07-17-2003 03:24 AM

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.

sujte 07-18-2003 09:42 AM

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.:)

antken 07-18-2003 09:49 AM

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 ) :)

sujte 07-18-2003 02:40 PM

Fry's is a store here in Dallas. Lots of cool toys.


All times are GMT -5. The time now is 02:56 AM.