Categories
Arch Linux HowTo Linux Posts

Wireless showing but fails to up/dhcpcd – Arch Linux

After my installation of Arch Linux I had some trouble using my wifi card which was working while I was running the live CD. What was strange was that the card would show up in iwconfig and ifconfig -a but not ifconfig It turns out I needed to install the wireless drivers and here’s how I did it:

Error:

ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory

dhcpcd wlan0
dhcpcd: version .2.2 starting
dhcpcd: wlan0: up_interface: No such file or directory
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out

Find out what card you are using:

lspci | grep Network
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Install: iwlwifi-3945-ucode-15.32.2.9-2-any.pkg.tar.gz

If you don’t have access to a wired connection, check out this guide to installing packages from the Arch Linux cd.

Once you get it up and running, updating via pacman (-Syu) will probably replace these drivers for newer ones which continue to work.

Categories
Linux Posts Ubuntu

Realtek RTL8191S in Ubuntu 10.10

Errors:

$ sudo ifconfig wlan1 up
SIOCSIFFLAGS: Resource temporarily unavailable

$ dmesg usb
rtl819xU:FirmwareDownload92S(): failed with TCR-Status: a
rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!

Solution 1:

To get this wifi dongle working I simply had to download the above firmware and place it in /lib/firmware/RTL8192SU/ and then reboot my computer. You should check that location before hand and make a backup of anything inside of it if you’re not sure what you are doing. If it’s empty you can use the following commands to make the directory and then download the firmware directly.

sudo mkdir /lib/firmware/RTL8192SU/
cd /lib/firmware/RTL8192SU/
sudo wget http://svn.debian.org/wsvn/kernel/dists/trunk/firmware-nonfree/realtek/RTL8192SU/rtl8192sfw.bin

Solution 2:

Alternatively download the source and build it:

wget http://launchpadlibrarian.net/33927923/rtl8192se_linux_2.6.0010.1012.2009.tar.gz
tar -zxvf rtl8192se_linux_2.6.0010.1012.2009.tar.gz
cd rtl8192se_linux_2.6.0010.1012.2009
make
sudo make install

Downloads:
Firmware: http://svn.debian.org/wsvn/kernel/dists/trunk/firmware-nonfree/realtek/RTL8192SU/rtl8192sfw.bin

Source: http://launchpadlibrarian.net/33927923/rtl8192se_linux_2.6.0010.1012.2009.tar.gz

Categories
Blog Linux Posts

Linux Cheat Sheet

I wanted a cheat sheet which would display pretty nicely on my Kindle 3, I found a bunch of great ones but none were formatted well to fit on the Kindle so I went ahead and compiled my own from the most useful stuff I found on the others. I’ve put in commands for manipulating text files, searching, permissions, system info and a bunch of other stuff too so check it out if you’re in need of a reference page. I’ll update it on here as it gets updated too.

Download Here

Sources: