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
  •  


Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW

$13.89



Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles picture

Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles

$53.99



2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM picture

2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM

$37.99



LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to... picture

LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to...

$162.04



MAYKU FormBox Desktop Vacuum Forming Machine W / Starter Kit picture

MAYKU FormBox Desktop Vacuum Forming Machine W / Starter Kit

$399.00



US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits picture

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits

$13.89



2 in 1 Compressed Air Duster Air Blower & Vacuum Cleaner Cordless Duster Blower picture

2 in 1 Compressed Air Duster Air Blower & Vacuum Cleaner Cordless Duster Blower

$16.99



Compressed Air Duster Rechargeable Computer Vacuum Cleaner for PC Keyboard Toys picture

Compressed Air Duster Rechargeable Computer Vacuum Cleaner for PC Keyboard Toys

$16.99



Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe picture

Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe

$53.99



Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery picture

Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery

$107.67