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

Reply via email to