|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Hi Peaples, how are you? Well i am enjoying OBSD Day after day !! But here I need your help once again. I have ddone my PF fiirewall but after having configured every thing i found that one of My nic card do not forward anything. even doeas not get up.. i changed it with the same one but I have the same probleme.. after further look arround I found that in the IFCONFIG command I have the card marked as xl0 but the host file is HOSTNAME.lx0 !! i don't understand why this happend. I am running OpenBSD 3.7 on a PII 300 -- the NIC is a 3COM 3c905cx-txm . thank you if someone have any issue for this ![]() Cheers for now |
|
#2
|
||||
|
||||
|
Wait a sec. Assuming that the data in hostname.lx0 is correct, all you need to do is rename your hostname.lx0 to hostname.xl0 and it will pick it up on reboot.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements |
|
#3
|
|||
|
|||
|
Well I create A new hostname.xl0 , reboot .. but the interface shows No carrier
|
|
#4
|
||||
|
||||
|
Do you have two cards in the box. Also, can you please post the contents of the relevant hostname.XXX files (where XXX is all the cards that you have configured on this machine).
|
|
#5
|
|||
|
|||
|
okey in my file I have: inet 172.25.0.2 255.255.255.0 NONE
|
|
#6
|
||||
|
||||
|
What happens if you manually type
ifconfig xl0 172.25.0.2 Does that work? If so, type ifconfig again and see what the output is. It should tell you if it detected a carrier or not. Also, do you have more than one card in your machine. I've found that OpenBSD sometimes evaluates NICs in a different order than other OSs. |
|
#7
|
|||
|
|||
|
Yes it made it working.. I didn't knew this command. What exactly this mean?
And yes I have 3 cards in my machine. but this is the only xl0 the other are fxp's cards (intel) |
|
#8
|
||||
|
||||
|
Basically, ifconfig is the command to set up the NIC cards and addresses. Normally, on bootup, OpenBSD runs /etc/rc which runs other rc scripts. One of these rc scripts (/etc/rc.network) looks in the /etc directory for files named hostname.XXX where XXX is the name of your interface. In your case, the files may ne named hostname.xl0, hostname.fxp0 and hostname.fxp1. /etc/rc.network then runs /sbin/ifconfig and sets up each interface card with an IP address. Hope this clears things up.
|
|
#9
|
|||
|
|||
|
Thank you Scorpion It work great now
Cheers |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Card Missmatch in the config |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|