Announcement

Collapse
No announcement yet.

Newtowrk interfaces switching [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Newtowrk interfaces switching [SOLVED]

    I have a laptop with a wired and a wireless network interfaces. I really like Kubuntu, but what I cannot find is a good way to easily switch network devices. I installed KNetworkManager, but it stays disconnected.


    Does anyone have a good way to switch network interfaces without going through system settings? Or should I go back and use the console, which seems the easiest now... ?

    #2
    Re: Newtowrk interfaces switching

    Knetworkmanager will only work if you do not have an active /etc/network/interfaces file. So if you comment out (add the # sign at the beginning of the line) each of the eth interfaces (leaving just the localhost), including the auto lines for them (again, leave the lo and other localhost lines alone), then you should be able to get knetworkmanager to work.

    You'll have to re-boot after you change the interfaces file in order to get network to start up again. So the sequence is to take down your internet connection (ifdown), change your interfaces file, start knetworkmanager, and then re-boot.

    Knetworkmanager should start automatically when you re-boot if you follow that sequence. Then within Knetworkmanager, you can easily switch between different interfaces.

    Comment


      #3
      Re: Newtowrk interfaces switching

      Well, it almost works...Just one question: does network manager require dhcp? Also, why does it only see the wired network?

      Comment


        #4
        Re: Newtowrk interfaces switching [SOLVED]

        Well, it almost works...Just one question: does network manager require dhcp? Also, why does it only see the wired network?
        Actually, that's two questions

        Network manager does require DHCP; if you have to use a static IP address, then you'll have to go back to the ifconfig appoach.

        If in your /etc/network/interfaces file, you left the eth1 lines uncommented, then network manager won't see your wireless networks. But otherwise, it should.

        Comment

        Working...
        X