Announcement

Collapse
No announcement yet.

how to edit interfaces file in /etc/network/interfaces?

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

    how to edit interfaces file in /etc/network/interfaces?

    Hi all:

    I need to add some additional info about my wired connection but I don't have gedit and KATE won't let me save the changes.

    So how do I edit the interfaces file in /etc/network/interfaces directory?

    Thanks!

    xavier

    #2
    Re: how to edit interfaces file in /etc/network/interfaces?

    User can't change system files, so it is necessary to run your text editor in "root" (aka "Super User") mode.

    Alt-F2 "kdesudo kate" with no quote marks, and then entering your password at the prompt, will open kate in Super User mode.

    Alt-F2 "kdesudo kate /etc/network/interfaces" will open kate and the file that you want to edit.

    Comment


      #3
      Re: how to edit interfaces file in /etc/network/interfaces?

      dibil:

      Thanks very much. That worked perfectly and I'm now connected to the Net via cable.

      Now to work on getting the wireless

      xavier

      Comment


        #4
        Re: how to edit interfaces file in /etc/network/interfaces?

        Now to work on getting the wireless Smiley
        KMenu --> System --> Hardware Drivers

        One of the drivers listed should be your Broadcom wireless chip. Click on the "activate" button.
        What happens is that fw-cutter will be downloaded from the repository (so, your wired connection must be working) and it will read your wireless chip firmware and "cut" out the driver and set it up.

        Your next step will be to use KNetworkManager to set up your wireless ESSID & Password and then connect.

        Lucid came with knm-runtime and some knetworkmanager guis and stuff installed. They immediately found my wireless and had no problem connecting, but they won't connect to your now unsupported Broadcom chip (unsupported by both Broadcom and Ubuntu). However, Knetworkmanager may give you problems because it is a work in progress, so ....

        Using Synaptic (install it if you haven't yet) install the following packages:
        python-urwid
        python-wicd
        wicd
        wicd-cli
        wicd-curses
        wicd-daemon
        wicd-gtk


        and then completely removed the following packages:
        modemmanager
        network-manager
        network-manager-openconnect
        network-manager-openvpn
        network-manager-pptp
        network-manager-vpnc
        knm-runtime
        network-manager-kde
        plasma-widget-networkmanagement

        Use wicd to setup your wireless device. Then reboot.

        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: how to edit interfaces file in /etc/network/interfaces?

          Grey geek:

          Thanks. I just checked the Hardware drivers and there's no Broadcom driver just an Nvida that's not active. That's weird because I downloaded the STA and the source driver (via the cable). I also downloaded later on the b43 fwcutter on the advice from the French forum but that didn't work out.

          So, here are my questions:

          Should I deinstall all the Broadcom drivers I have and then download the Broadcom STA driver once again?

          Thanks!

          xavier

          Comment


            #6
            Re: how to edit interfaces file in /etc/network/interfaces?

            I'd plug in a cat5 ethernet cable from the back of your wireless router (which usually has 1 to 4 extra eth ports) to your PC. Then I'd delete everything related to your previous broadcom wireless install.

            Then, I'd follow the instructions here for your particular broadcom chip.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: how to edit interfaces file in /etc/network/interfaces?

              I apologize if this makes everything less clear, but http://wiki.debian.org/bcm43xx (about halfway down the page) seems to indicate that the rndis_wlan module is already present as a kernel module for the Broadcom 4320 chip. If that is not the wifi chip that your adapter uses, then stop.

              If it is your adapter's chip, then follow the instructions and use whatever GUI you want to manage the connection. I'm flying very well with network-manager, but wicd may be your choice. It will mean removing any other wifi drivers you may have already installed.

              If this doesn't make sense or doesn't feel right, then press on with the other recommendations.
              The next brick house on the left
              Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



              Comment


                #8
                Re: how to edit interfaces file in /etc/network/interfaces?

                jerry@sonyvgnfw140e:~$ locate *.ko | grep rndis
                /lib/modules/2.6.32-21-generic/kernel/drivers/net/usb/rndis_host.ko
                /lib/modules/2.6.32-21-generic/kernel/drivers/net/wireless/rndis_wlan.ko
                /lib/modules/2.6.32-22-generic/kernel/drivers/net/usb/rndis_host.ko
                /lib/modules/2.6.32-22-generic/kernel/drivers/net/wireless/rndis_wlan.ko
                /lib/modules/2.6.32-23-generic/kernel/drivers/net/usb/rndis_host.ko
                /lib/modules/2.6.32-23-generic/kernel/drivers/net/wireless/rndis_wlan.ko


                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment

                Working...
                X