View previous topic :: View next topic |
Author |
Message |
gearshift82 n00b
Joined: 05 Apr 2015 Posts: 4
|
Posted: Sun Apr 05, 2015 8:03 pm Post subject: Wireless on Toshiba laptop |
|
|
I have a Toshiba Satellite C655D-S5303, and I'm using the minimal install disc (install-amd64-minimal-20150305.iso). Running ifconfig reveals the wireless device name is wlp2s0. I know from Windows that it has a Atheros wireless card, so it should need ath9k.
I can get wireless working on the minimal installation disc fine. I've done everything up to this point as recommended, and chose stage3-amd64-*.tar.bz2 from the Georgia Tech http listing. I'm having a problem at the make menuconfig stage.
https://wireless.wiki.kernel.org/en/users/drivers/ath9k says I need "Improved wireless configuration API", and https://forums.gentoo.org/viewtopic-p-7208276.html#7208276 says it was renamed. I can find "cfg80211 - wireless configuration API" and "Generic IEEE 802.11 Networking Stack (mac80211)", and by default they are included (as <*>, not <M> like on first link).
However, "Atheros Wireless Cards (NEW) ----" is an empty submenu, so I can't choose to include "Atheros 802.11n wireless cards support" as the first link instructs. I've marked it as include and tried installing it, but was unable to connect after rebooting.
Additionally, I have a WPA2-secured network, so it would seem I need wpa_supplicant, however emerge --ask net-wireless/wpa_supplicant has over 100 dependencies and takes more than two hours to emerge. For the minimal install disc, I just run:
Code: |
ip link set wlp2s0 up
wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "myssidname" "mypassword")
dhcpcd wlp2s0
|
Last edited by gearshift82 on Mon Apr 06, 2015 2:28 am; edited 2 times in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Apr 05, 2015 10:07 pm Post subject: |
|
|
boot the cd, run Code: | lsusb | wgetpaste
lsmod | wgetpaste | post the url's here
looking for which atheros chipset and what driver the cd uses for it.
you probably chose a profile which brings in a lot of dependencies, you will need to emerge wpa_supplicant _________________ Defund the FCC. |
|
Back to top |
|
|
gearshift82 n00b
Joined: 05 Apr 2015 Posts: 4
|
Posted: Sun Apr 05, 2015 10:50 pm Post subject: |
|
|
Code: |
livecd ~ # lsusb | wgetpaste
-bash: lsusb: command not found
No input read. Nothing to paste. Aborting.
livecd ~ # lsmod | wgetpaste
Your paste can be seen here: https://bpaste.net/show/9aa719e75076
|
Going to go further in on the install so I can emerge sys-apps/usbutils and hopefully run lsusb.
Last edited by gearshift82 on Mon Apr 06, 2015 2:24 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Apr 06, 2015 12:15 am Post subject: |
|
|
try a kernel with : Quote: | -*- Networking support --->
-*- Wireless --->
-M- cfg80211 - wireless configuration API
[*] cfg80211 wireless extensions compatibility
<M> Generic IEEE 802.11 Networking Stack (mac80211)
-*- Enable LED triggers
<M> RF switch subsystem support ----
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
<M> Atheros Wireless Cards --->
--- Atheros Wireless Cards
[ ] Atheros wireless debugging (NEW)
< > Atheros 5xxx wireless cards support (NEW)
[ ] Atheros 5xxx PCI bus support (NEW)
[*] Atheros bluetooth coexistence support (NEW)
<M> Atheros 802.11n wireless cards support
[*] Atheros ath9k PCI/PCIe bus support (NEW)
[ ] Atheros ath9k AHB bus support (NEW)
[ ] Atheros ath9k debugging (NEW)
[*] Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL) (
[*] Channel Context support (NEW)
< > Atheros HTC based wireless cards support (NEW)
< > Linux Community AR9170 802.11n USB support (NEW)
< > Atheros mobile chipsets support (NEW)
< > Atheros AR5523 wireless driver support (NEW)
< > Wilocity 60g WiFi card wil6210 support (NEW)
< > Atheros 802.11ac wireless cards support (NEW)
< > Qualcomm Atheros WCN3660/3680 support (NEW)
[*] X86 Platform Specific Device Drivers --->
<M> WMI
<M> Toshiba Bluetooth RFKill switch support
<M> Toshiba HDD Active Protection Sensor | if some item does not open in menuconfig check Depends On: in the help dialog for the item. If successful, ifconfig -a will show the interface after reboot. ip link set wlp2s0 up
wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "myssidname" "mypassword")
dhcpcd wlp2s0 should then work to bring up the wireless network, provided iproute2 and wpa_supplicant have been emerged.
should have asked for lspci -k vice lsusb, sorry, I run desktops and usb wireless and suffered a brain dump. _________________ Defund the FCC. |
|
Back to top |
|
|
gearshift82 n00b
Joined: 05 Apr 2015 Posts: 4
|
Posted: Mon Apr 06, 2015 12:56 am Post subject: |
|
|
Thanks. Was able to choose all the options as you posted except Atheros bluetooth coexistence support IIRC. Running make && make modules_install now, will report back with results.
Was unaware I will have to emerge iproute2. Does order matter when emerging iproute2 and wpa_supplicant? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Apr 06, 2015 1:01 am Post subject: |
|
|
order does not matter _________________ Defund the FCC. |
|
Back to top |
|
|
gearshift82 n00b
Joined: 05 Apr 2015 Posts: 4
|
Posted: Mon Apr 06, 2015 3:35 pm Post subject: |
|
|
Rebooted and networking works! I can successfully ping google. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Apr 06, 2015 3:38 pm Post subject: |
|
|
Well done! _________________ Defund the FCC. |
|
Back to top |
|
|
|