#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    54
    Rep Power
    9

    Exclamation Card Missmatch in the config




    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. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    54
    Rep Power
    9
    Well I create A new hostname.xl0 , reboot .. but the interface shows No carrier
  6. #4
  7. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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).
    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

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    54
    Rep Power
    9
    okey in my file I have: inet 172.25.0.2 255.255.255.0 NONE
  10. #6
  11. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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.
    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

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    54
    Rep Power
    9
    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)
  14. #8
  15. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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.
    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

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    54
    Rep Power
    9
    Thank you Scorpion It work great now Cheers

IMN logo majestic logo threadwatch logo seochat tools logo