Results 1 to 7 of 7

Thread: Wi-Fi connection does not work after boot

  1. #1

    Default Wi-Fi connection does not work after boot

    I have a router working as an access point for Internet access. It is used by
    sveral computers. Wi-Fi connection to Internet through this router does not
    work after boot on openSUSE 11.4.

    The cannection becomes established, shows IP address, access point MAC address,
    the signal level is high. But Internet is unaccessible with traceroute returns
    "the host is unreachable" message.

    If to restart the interface under root with

    ifdown wlan0
    ifup wlan0

    all works well.

    If to disable the automatic start of the interface and start it manually with
    ifup wlan0, nothing changes: the interface still does not work after first
    start.

    This is very annoying because this laptop is use by a girl who cannot restart interface. She says she cannot do anything with it.

  2. #2

    Default Re: Wi-Fi connection does not work after boot

    I'm willing to bet you have a DNS error.
    Please try
    Code:
    dhcpcd wlan0
    If browsing does not work after that try
    Code:
    ping 192.168.0.1
    ping 8.8.8.8
    You may have to Ctrl+C to kill them.
    If ping 8.8.8.8 returns something (you could use any IP outside of your LAN) then it is a DNS error. Adding openDns to your /etc/resolv.conf should solve the problem.
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

  3. #3

    Default Re: Wi-Fi connection does not work after boot

    pinging 8.8.8.8 does not work either. The problem is the default gateway is not assigned.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Wi-Fi connection does not work after boot

    Quote Originally Posted by Ansus View Post
    pinging 8.8.8.8 does not work either. The problem is the default gateway is not assigned.
    Hello,
    As noted in a number of other threads, pls describe
    Which desktop you're using

    Then, verify you have Network Manager enabled which is best and most appropriate for laptops instead of IFUP/IFDOWN by going into YAST

    YAST > Network Services > Network Settings > Global Options tab > check radio button "User Controlled with NetworkManager"

    Note: Network Manager will connect to wireless only when a User logs on, not when booting up. Most laptops do not require Internet access without a logged in User but require the ability to move from network to network which is what Network Manager does best.


    If you're still having a problem, pls post your

    ifconfig
    iwconfig

    before you do your ifdown/ifup.

    HTH,
    Tony

  5. #5

    Default Re: Wi-Fi connection does not work after boot

    No, I do not like NM for various reasons. For me it is not the best way.

  6. #6

    Default Re: Wi-Fi connection does not work after boot

    I figured out that the connection works well if to specify the default gateway in Yast. I just curious why it is not assigned via DHCP.

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Wi-Fi connection does not work after boot

    Quote Originally Posted by Ansus View Post
    I figured out that the connection works well if to specify the default gateway in Yast. I just curious why it is not assigned via DHCP.
    Is why I asked to see ifconfig and iwconfig to verify only partical DHCP configuration, if that's truly verified that usually is caused by either a misconfigured DHCP or a local setting that over-rides the DHCP setting (yes, convention in this case is local over-rides network).

    Depending on how you look at it, you may still want to find/fix the problem or the problem will bite you again in the future.

    Note that if you do not use NM you will run into plenty of problems in the future if you transport this laptop to other networks... You will see a new network device created each time the network changes which will require manual intervention.

    IFUP/IFDOWN is only for machines that stay in one place unless you're willing to put up with the headaches.

    Tony

Posting Permissions

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