Getting Wireless working on Pogoplug E02

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Getting Wireless working on Pogoplug E02

Postby moonman » Sun Mar 10, 2013 9:55 pm

The name (as in filename) of the module is ath9k_htc.ko
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Getting Wireless working on Pogoplug E02

Postby moonman » Sun Mar 10, 2013 10:00 pm

What kernel are you running by the way?
$this->bbcode_second_pass_code('', 'find /usr/lib -name ath9k*')

You may also have to do this:
$this->bbcode_second_pass_code('', 'echo "ath9k_htc.ko.gz" > /etc/modules-load.d/ath9k_htc.conf')

See what works.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Sun Mar 10, 2013 10:16 pm

$this->bbcode_second_pass_quote('moonman', 'W')hat kernel are you running by the way?
$this->bbcode_second_pass_code('', 'find /usr/lib -name ath9k*')

You may also have to do this:
$this->bbcode_second_pass_code('', 'echo "ath9k_htc.ko.gz" > /etc/modules-load.d/ath9k_htc.conf')

See what works.


Did a fsck and now it's booting, it looks like it connected at boot, but the service says it failed with the same error. I wonder if it will still connect without eth0 plugged in. What should my conf.d/netcfg.conf look like?

find /usr/lib -name ath9k* output

$this->bbcode_second_pass_code('', '/usr/lib/modules/3.1.10-16-ARCH/kernel/drivers/net/wireless/ath/ath9k
/usr/lib/modules/3.1.10-16-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
/usr/lib/modules/3.1.10-16-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
/usr/lib/modules/3.1.10-16-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko.gz
/usr/lib/modules/3.1.10-16-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz
')

EDIT: it's still failing with the .ko.gz and isn't starting at boot.

EDIT: It seems to be working with the .ko ending, but the service still says it's failing. I just started it successfully without eth0 plugged in and was able to ssh.

EDIT: Worked once, but now it's not working.
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby moonman » Sun Mar 10, 2013 11:41 pm

Insert $this->bbcode_second_pass_code('', 'PRE_UP="sleep 20"') after interface=... in your /etc/network.d/<yourconnection>
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Mon Mar 11, 2013 12:19 am

$this->bbcode_second_pass_quote('moonman', 'I')nsert $this->bbcode_second_pass_code('', 'PRE_UP="sleep 20"') after interface=... in your /etc/network.d/<yourconnection>


The service still fails.

Here's my network config

$this->bbcode_second_pass_code('', '
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
PRE_UP='sleep 20'
SECURITY='wpa'

ESSID='omitted'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='omitted'

IP='dhcp'

# Uncomment this if your ssid is hidden
#HIDDEN=yes
')

and here's my conf.d/netcfg

$this->bbcode_second_pass_code('', '
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(wired-eth0 omitted)

# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"

# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="wlan0"

# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("omitted")
')
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Tue Mar 12, 2013 1:26 am

bumping
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby pepedog » Tue Mar 12, 2013 2:04 am

Look in /etc/systemd/system/multi-user.target.wants/
delete and files starting netcfg or dhcp
Enable just omitted
systemctl enable netcfg@omitted
(omitted is the wireless file in /etc/network.d/)
Note that wired won't work on reboot, so maybe try this as well
Or
systemctl enable netcfg
One or the other
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Tue Mar 12, 2013 2:22 am

$this->bbcode_second_pass_quote('pepedog', 'L')ook in /etc/systemd/system/multi-user.target.wants/
delete and files starting netcfg or dhcp
Enable just omitted
systemctl enable netcfg@omitted
(omitted is the wireless file in /etc/network.d/)
Note that wired won't work on reboot, so maybe try this as well
Or
systemctl enable netcfg
One or the other


would vnc cause any problems?

listed services are:
openntpd
remote-fs
sshdgenkeys
sshd
syslog-ng
vncserver
cronie
netcfg
netcfg@ommited

EDIT: Damn I deleted the netcfg services and restarted without adding netcfg again. Now I can't connect, how can I add it manually?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm
Top

Re: Getting Wireless working on Pogoplug E02

Postby pepedog » Tue Mar 12, 2013 9:52 am

$this->bbcode_second_pass_code('', 'ln -s /usr/lib/systemd/system/netcfg.service /pathtodrive/etc/systemd/system/multi-user.target.wants/netcfg.service')
Only use netcfg OR netcfg@ not both
I suggest when you get it back up remove netcfg.service and add netcfg@wired-eth0 and netcfg@omitted
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Tue Mar 12, 2013 7:13 pm

$this->bbcode_second_pass_quote('pepedog', '[')code]ln -s /usr/lib/systemd/system/netcfg.service /pathtodrive/etc/systemd/system/multi-user.target.wants/netcfg.service[/code]
Only use netcfg OR netcfg@ not both
I suggest when you get it back up remove netcfg.service and add netcfg@wired-eth0 and netcfg@omitted


Is this on a different linux machine? or in the pogoplug shell?

Are all of the services links? Should I just copy the netcfg.service over to that directory?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm
Top

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 11 guests