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
  •  


Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$100.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$39.99



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99



Crucial MX500 250GB 2.5

Crucial MX500 250GB 2.5" SATA III SSD - Preowned

$29.00



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.00



Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive picture

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive

$42.99



Samsung 860 EVO 250GB, SATA III, 2.5

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...

$30.00



Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5

Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5" (SSDSC2BB240G4P) SSD

$29.99