Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless on Toshiba laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gearshift82
n00b
n00b


Joined: 05 Apr 2015
Posts: 4

PostPosted: Sun Apr 05, 2015 8:03 pm    Post subject: Wireless on Toshiba laptop Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sun Apr 05, 2015 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
gearshift82
n00b
n00b


Joined: 05 Apr 2015
Posts: 4

PostPosted: Sun Apr 05, 2015 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Apr 06, 2015 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
gearshift82
n00b
n00b


Joined: 05 Apr 2015
Posts: 4

PostPosted: Mon Apr 06, 2015 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Apr 06, 2015 1:01 am    Post subject: Reply with quote

order does not matter
_________________
Defund the FCC.
Back to top
View user's profile Send private message
gearshift82
n00b
n00b


Joined: 05 Apr 2015
Posts: 4

PostPosted: Mon Apr 06, 2015 3:35 pm    Post subject: Reply with quote

Rebooted and networking works! I can successfully ping google.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Apr 06, 2015 3:38 pm    Post subject: Reply with quote

Well done!
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum