On Mon, 23 Sep 2019 09:17:18 +0300 dalios <dal...@eumx.net> wrote: > On 9/21/19 11:50 PM, Patrick Bartek wrote: > > On Sat, 21 Sep 2019 21:50:40 +0300 > > dalios <dal...@eumx.net> wrote: > > > >> Hi all, > >> > >> I have a desktop with Debian 9.9 (Stretch) installed. I have moved it in > >> a house were cable connection is not available but wifi is (thanks > >> neighbors), so I used an older wifi adapter that I have. The adapter is > >> (according to lsusb) a "ralink technology corp rt2870/rt3070 wireless > >> adapter". > >> > >> I followed the advice from the wiki page [wiki.debian.org/rt2800usb] and > >> downloaded the "firmware-misc-nonfree" package. I moved it to the > >> offline PC with a USB flash key and then used the following command to > >> install the package: > >> > >> # dpkg -i /path/to/package/firmware-misc-nonfree_20161130-5_all.deb > >> > >> However wifi is still not working. I can confirm with aptitude that the > >> package is installed. And I re-plugged the USB adapter and rebooted the > >> PC just to be sure. > >> > >> Any advice? > >> > >> > >> Dalios > >> > >> > >> PS: I copy here the output of the dpkg -i command in case it is usefull: > >> > >> # dpkg -i /path/to/package/firmware-misc-nonfree_20161130-5_all.deb > >> Selecting previously unselected package firmware-misc-nonfree. > >> (Reading database ... 123562 files and directories currently installed.) > >> Preparing to unpack .../firmware-misc-nonfree_20161130-5_all.deb ... > >> Unpacking firmware-misc-nonfree (20161130-5) ... > >> Setting up firmware-misc-nonfree (20161130-5) ... > >> update-initramfs: deferring update (trigger activated) > >> Processing triggers for initramfs-tools (0.130) ... > >> update-initramfs: Generating /boot/initrd.img-4.9.0-9-amd64 > >> W: initramfs-tools configuration sets > >> RESUME=UUID=899bb006-1e73-4c73-905b-bdeedc70863c > >> W: but no matching swap device is available. > >> I: The initramfs will attempt to resume from /dev/sda4 > >> I: (UUID=cf902f00-578b-4b33-b529-7aca95aab455) > >> I: Set the RESUME variable to override this. > >> # > >> > > > > You have to create a configuration file for the wifi dongle to an > > access pointto bring up connection at boot. This can be done manually > > with a text editor and root priviledge or with a wifi manager like > > wicd. Debian has a wifi wiki that explains it. Don't have the link > > handy. > > > > The config file is /etc/network/interfaces something like: > > > > # The loopback network interface > > > > auto lo > > iface lo inet loopback > > > > # RALink Wifi Dongle > > > > auto [wifi device designation] > > iface [wifi device designation] inet dhcp > > wpa-ssid [Wireless Router Name] > > wpa-psk [Wireless passphrase] > > > > > > B > > > > Thanks for your reply. > > I will try this next time I 'l be there. However it seems a little weird > to me that this would be necessary. I have used this wifi adapter in the > past (Debian 6, 7 and 8 in an old laptop) and I never had to do anything > like that. After installing the firmware (using a wired network > connection) it just worked and I only had to put the wifi password in > the network manager applet. > > Dalios
Does your network applet handle wifi? Do you even have a network applet? Or even a network manager? Is wpa_supplicant installed? Are the wifi utilities? If you've installed with a wired ethernet connection, perhaps they weren't installed as no wifi hardware was detected. This was my case as I never intended this box to use wireless, but after 12 years of wired use and numerous distro installs, logistics forced wireless on me. However, any type of wireless manager I tried wanted to reinstall systemd as the init instead of sysvinit which I prefer. So, I installed the wifi drivers and utilites, and configured wireless manually. FYI: I don't use a desktop, just a window manager and single panel with menus. B