Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274

    Cabhan: thanks man, for your help with this! OK I think I'm almost there, I can get an IP now but still can't access the Internet. I don't want to use DHCP, btw. I want to assign 192.168.2.8 and subnet mask of 255.255.255.0. This is what I did:

    Code:
    [root@mandrake ben]# ifconfig wlan0 192.168.2.8 netmask 255.255.255.0 up
    [root@mandrake ben]# route add default gw 192.168.2.1
    SIOCADDRT: Filexists
    
    [root@mandrake ben]# ifconfig
    
    
    wlan0     Link encap:Ethernet  HWaddr 00:0F:66:F2:7B:CD
              inet addr:192.168.2.8  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::20f:66ff:fef2:7bcd/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:81 errors:0 dropped:0 overruns:0 frame:0
              TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:9652 (9.4 Kb)  TX bytes:1306 (1.2 Kb)
              Interrupt:5 Memory:fdffe000-fdffffffe
    however, if I pull out the ethernet cable I still can't access anything through the wireless connection. Where am I going wrong? Does the eth0 connection need to be disabled?

  2. #12
    Can you ping anything at all? If you can ping IP addresses but can't browse the web, then you need to define some nameservers in /etc/resolv.conf. A good IP address I use for testing connectivity is 4.2.2.1 (it's Verizon's DNS server for my area and is basically never down).
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

Posting Permissions

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