Results 1 to 5 of 5

Thread: DHCP Assigning wrong IP?

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    3

    DHCP Assigning wrong IP?

    I've got Knoppix 3.6 running on a Dell C600 laptop with a Netgear WG511 wireless card and a Dlink Wireless/Broadband router. The wireless card appears to have solid contact with the router (as monitored with wavemon and iwconfig). The router reports it assigned 192.168.0.3 to the Knoppix machine however Knoppix reports its IP (through ifconfig) as 192.168.1.14. Knoppix has the MAC address of the router correct (verified in iwconfig) and the router shows the MAC address of the laptop correctly. Obviously I can't connect to the other machines on the router or the internet. When I do route -n I see that the routing table is messed up. The table should show the gateway as 192.168.0.1 but instead shows 192.168.1.1

    It appears Knoppix is interpreting the DHCP stuff incorrectly from the router, but why?

    Note: another linux (SuSE) and windows 2k/XP boxes use the same router wirelessly and wired without trouble

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: DHCP Assigning wrong IP?

    Quote Originally Posted by jmh90
    .... however Knoppix reports its IP (through ifconfig) as 192.168.1.14. ......
    Are you living in a location where you might be seeing other wireless routers? When your Knoppix system is assigned 192.168.1.14 can it ping 192.168.1.1 and get a response? Have you used any "site survey" software (either something that came with the card or Netstumbler) to see all of the available access points in range? Boy, what a strange problem!

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    3
    Yes, I can see between 1 and 3 other wireless routers from my house. After doing some "investigative work" if found the ESSID of a router we'll call "MR. X". When I reconfigure my wlan card using wlcardconfig and specify "MR. X" instead of my ESSID, then do a "pump -R", voila, I'm surfing the web as 192.168.1.14 without a hitch.

    Of course, it's not my router, and I'm only 2 feet away from my access point. Why would my net card prefer another router? My only guess is that I have a 802.11 b/g card and my router is a 802.11b. Maybe the card firmware prefers 802.11g (assuming MR. X is a g router)? Very confused here why I can't dial in my own router. When I set wlcardconfig to use my ESSID, pump just doesn't seem to work - returns "Operation failed."[/quote]

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    3
    OK, I finally was able to connect to *my* router by using a static IP *and* moving the laptop to a portion of the house that was in range to only my wireless access point. I still can't connect to my router with DHCP, even when I'm isolated from other APs. It is really strange to be connected apparently to one router but to have an IP leased from another. Apparently, that's what has happened.

    (I'll also need to tell my neighbor to add some sort of filtering to his/her AP.)

    Thanks for the help

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by jmh90
    Thanks for the help
    Glad you're making progress, but I didn't do much to help. Just figured DHCP just doesn't fail that way and that you mush have got that "bad" IP address from somewhere. How you managed to get it without putting in the SSID of Mr.X I don't know. Why you can't get a DHCP setup from your own system I don't know. But then, I haven't been able to get Knoppix to work with either my Belkin 802.11b (ver 2101) card or my dLink 802.11b DWL-650 card. It sort of see the Belkin card, but (running from CD) I can't quite get it to connect to my router (and I've tried it with a few routers). Not even using WEP. Wish I knew a lot more about the wireless stuff in Knoppix myself.

Similar Threads

  1. Problem assigning Static IP for cable internet URGENT!
    By cooldude_i2k in forum Networking
    Replies: 6
    Last Post: 06-30-2005, 05:45 AM
  2. DHCP wrong ip
    By Lan_man in forum Networking
    Replies: 1
    Last Post: 05-03-2005, 03:51 AM
  3. Basic Quesions on IP address assigning & raspppoe
    By dumbdude in forum Networking
    Replies: 4
    Last Post: 12-04-2004, 04:10 PM
  4. Where did I go wrong ...
    By Mic Q in forum General Support
    Replies: 3
    Last Post: 10-16-2004, 10:21 AM
  5. Don't see what I am doing wrong
    By Jera in forum Hdd Install / Debian / Apt
    Replies: 12
    Last Post: 07-17-2004, 07:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A picture

Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A

$119.99



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$43.00