Find the answer to your Linux question:
Results 1 to 3 of 3
I'm currently staying at a hotel and trying to use their interent on my eeepc running debian lenny, but Ive spent about 4 hours trying to configure things and have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4

    Gateway Connection Problem


    I'm currently staying at a hotel and trying to use their interent on my eeepc running debian lenny, but Ive spent about 4 hours trying to configure things and have learned a good deal about how networks function but haven't been able to fix this. The rub is that my girlfriends Vista computer connects and sets up with dhcp no problem...
    The router in the room has ip 192.168.1.3,
    first I'll paste her connection settings:
    Code:
    Connection-specific DNS Suffix: 
    Description: Atheros AR5007EG Wireless Network Adapter
    Physical Address: 00-19-7E-A1-BE-22
    DHCP Enabled: Yes
    IPv4 IP Address: 192.168.1.32
    IPv4 Subnet Mask: 255.255.255.0
    IPv4 Default Gateway: 10.0.0.2
    IPv4 DHCP Server: 192.168.1.11
    IPv4 DNS Servers: 10.0.0.2, 192.168.1.3
    IPv4 WINS Server: 
    NetBIOS over Tcpip Enabled: Yes
    If I connect using dhcp myself, I get an offer from 192.168.1.3 (the local router)
    and then nothing, I can ping computers in the local network but I can't connect to the internet.

    I can't copy paste from the other computer but I think it has something to do with the routing table.
    I have
    Destination Gateway Genmask ... iface
    192.168.1.0 0.0.0.0 255.255.255.0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 eth0

    whereas hers has a lot of things, these seem to be the relevant ones
    Destination Gateway Genmask ... iface
    0.0.0.0 10.0.0.2 0.0.0.0 192.168.1.32
    192.168.1.255 0.0.0.0 255.255.255.255 192.168.1.32

    So it seems to be that the 10.0.0.2 route is missing on my machine, when I try to add it by hand
    $route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.0.0.2 dev eth0
    I get the error
    SIOCADDRT: No such process

    I'm not sure what that means or how to fix that.
    Any ideas would be greatly appreciated
    Thanks
    GG

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need to run that command as root

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    yes, I did run it as root.

Posting Permissions

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