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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



2021 Full Version Office Professional Plus for 1 PC Flash USB Drive picture

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive

$59.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB picture

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB

$282.00



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot picture

Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot

$385.00



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99