Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Cool Changing networks quesiton...?

    I am running opensuse 10.3 with ndiswrapper 1.49. My card works fine and it connects to networks without any issues...

    My goal is to be able to connect to multiple wireless networks using static ip addresses using the command line. The problem I run into is when I change from one network to another I lose the internet connection. I am sure I am missing a step or two in order to complete the change.

    Here is what I run:

    1. ifdown wlan0
    2. ifconfig wlan0 netmask
    3. iwconfig wlan0 essid linksys
    4. ifup wlan0
    5. route add default gw

    I then can connect to the router via firefox, but I can't access any internet sites nor ping I am sure it is something stupid that I haven't thought of.

    Thanks ahead of time,

  2. #2

    Thumbs down

    OK I am an idiot. I needed to change the dns for the nic. Is the only way to change the dns servers through editing the /etc/resolv.conf file?

Posting Permissions

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