by benob » Wed Oct 12, 2011 3:47 pm
$this->bbcode_second_pass_quote('Flak', 'H')i,
I have installed ArchLinux on my ac100, using 2.6.38.3-dc61519 kernel, then I install wicd for wireless network (using my usb flash drive to copy all needed packages from repo and `pacman -U` command) next I wanted connect to my network (wicd-curses) but no networks was found (There is some belive me). When I press iwconfig there is wlan0, iwlist wlan0 scan shows "Interface doesn't support scanning : Network is down". So I pressed ifconfig wlan0 up, and shows "SIOCSIFFLAGS: No such file or directory" and I stuck. I couldnt install more packages without internet connection. Can some one help me?
Regards
Mariusz
Edit:
I've found this in my dmesg:
phy0 -> rt2x00lib_request_firmware: Error
but no firmware for this in repo.
You can use a usb cable to install the missing package.
On the pc:
$this->bbcode_second_pass_code('', '
modprobe cdc_ether
ifconfig usb0 up
ifconfig usb0 10.0.0.1 (use a different subnet if your pc is already on 10.0.0.0/8)
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -s 10.0.0.0/8 -j MASQUERADE
iptables -I INPUT -s 10.0.0.1 0j ACCEPT
iptables -P FORWARD ACCEPT
')
On the ac100:
$this->bbcode_second_pass_code('', '
modprobe g_cdc
ifconfig usb0 up
ifconfig usb0 10.0.0.2
route add default gw 10.0.0.1
echo nameserver 8.8.8.8 > /etc/resolv.conf
')
I am writing that from my memory so some commands might be different. You can probably find tutorials on sharing a connection through a usb cable on linux.
--- edit ---
On another topic, the latest kernel (ab23b46) has sound on external speakers and I guess it only comes from enabling CONFIG_NVEC_EVENT when compiling the kernel, which should work on older kernels.