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 pepedog » Tue Mar 12, 2013 8:16 pm

All the services there are symlinks
That was on another machine. If it were the same machine you would be doing systemctl enable
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 10:12 pm

Netcfg.service won't go away, I tried disabling it through systemctl and it still starts, It's also not in /etc/systemd/system/multi-user.target.wants/. Eth0 and ommited service still fail to start. It's also the same error message as before.
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby jeajea » Tue Mar 12, 2013 11:52 pm

If you haven’t done this already try adding
$this->bbcode_second_pass_code('', 'SCAN=yes')To your wireless profile - I had to do this to make wireless work on my systems.
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Wed Mar 13, 2013 3:11 am

I'm considering just reinstalling and starting from scratch. This is pretty frustrating. Nothing seems to be working.
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby jeajea » Wed Mar 13, 2013 9:07 am

I have a TP-Link TL-WN722N working on my Pogoplug E01 with a static IP address. I installed the latest version of Arch and then did
Pacman –Syu

My netcfg
$this->bbcode_second_pass_code('', '[root@PP250 conf.d]# cat netcfg
# 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 @wired-eth1 @air3)

# 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=("profile1" "profile2")')
My wireless profile


$this->bbcode_second_pass_code('', '[root@PP250 network.d]# cat air3
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection using a static IP'
INTERFACE='wlan0'
SECURITY='wpa'
#PRE_UP='sleep 6'
ESSID='air3'
SCAN=yes
KEY='put-your-key-here'
IP='static' # Any other CONNECTION='ethernet' options may be used.
ADDR='172.30.30.150'
NETMASK='255.255.255.0'
#GATEWAY='172.30.30.1'
DNS=('172.30.30.1')
# Uncomment this if your ssid is hidden
#HIDDEN=yes')

The module loads a automatically

I have not been able to get DHCP to work wired or wireless.

$this->bbcode_second_pass_code('', 'login as: root
root@172.30.30.150's password:
Last login: Wed Mar 13 04:04:45 2013 from 172.30.30.211
[root@PP250 ~]# uname -a
Linux PP250 3.1.10-16-ARCH #1 PREEMPT Tue Feb 12 01:17:10 UTC 2013 armv5tel GNU/Linux
[root@PP250 ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 004: ID 125f:312a A-DATA Technology Co., Ltd. Superior S102
Bus 001 Device 005: ID 1058:0748 Western Digital Technologies, Inc. My Passport 1TB USB 3.0
Bus 001 Device 006: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter
Bus 001 Device 007: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n')

$this->bbcode_second_pass_code('', '[root@PP250 ~]# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.250 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2001:470:bccf:1:225:31ff:fe00:c63a prefixlen 64 scopeid 0x0<global>
inet6 fe80::225:31ff:fe00:c63a prefixlen 64 scopeid 0x20<link>
ether 00:25:31:00:c6:3a txqueuelen 1000 (Ethernet)
RX packets 10128 bytes 745328 (727.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4988 bytes 923168 (901.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 11

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.30.30.250 netmask 255.255.255.0 broadcast 172.30.30.255
inet6 fe80::210:14ff:fe01:5b60 prefixlen 64 scopeid 0x20<link>
ether 00:10:14:01:5b:60 txqueuelen 1000 (Ethernet)
RX packets 29991 bytes 5763970 (5.4 MiB)
RX errors 0 dropped 29 overruns 0 frame 0
TX packets 957 bytes 126360 (123.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.30.30.150 netmask 255.255.255.0 broadcast 172.30.30.255
inet6 2001:470:1f0f:1134:a2f3:c1ff:fe0f:1bf8 prefixlen 64 scopeid 0x0<global>
inet6 fe80::a2f3:c1ff:fe0f:1bf8 prefixlen 64 scopeid 0x20<link>
ether a0:f3:c1:0f:1b:f8 txqueuelen 1000 (Ethernet)
RX packets 30347 bytes 6218800 (5.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 1242 (1.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Getting Wireless working on Pogoplug E02

Postby makuab » Wed Mar 13, 2013 7:08 pm

After disabling all of the netcfg services, I manually enabled the netcfg.service via symlink in a linux virtual machine. When I rebooted I noticed wlan0 and eth0 were connected, but didn't think anything of it because it had happened before and when I disconnect eth0 wlan0 ceases to function. Last night I tried unplugging eth0 and restarted it. When it booted it was connected tot he wifi and I could ssh into it. I rebooted it a few more times to make sure it was consistent, and it's still working this morning. I have no idea how that worked, but it appears to be working consistently.

Also thanks jeajea, I'll use your configs if it fails to work on me again. Here is all of my info for future reference.

lsmod output
$this->bbcode_second_pass_code('', '
Module Size Used by
ipv6 259694 14
ath9k_htc 51580 0
ath9k_common 1528 1 ath9k_htc
ath9k_hw 299058 2 ath9k_common,ath9k_htc
ath 13242 2 ath9k_hw,ath9k_htc
mac80211 170543 1 ath9k_htc
cfg80211 143659 3 mac80211,ath,ath9k_htc
rfkill 14400 2 cfg80211
mv_cesa 9128 0
autofs4 22074 2
')

dmesg output
$this->bbcode_second_pass_code('', '
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.10-16-ARCH (nobody@panda2) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Tue Feb 12 01:17:10 UTC 2013
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c0590af8, node_mem_map c0661000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 252304k/252304k available, 9840k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xfe800000 ( 736 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc052ede4 (5276 kB)
[ 0.000000] .init : 0xc052f000 - 0xc055a000 ( 172 kB)
[ 0.000000] .data : 0xc055a000 - 0xc05932f0 ( 229 kB)
[ 0.000000] .bss : 0xc0593314 - 0xc0660e8c ( 823 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 20.755448] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 20.845377] pid_max: default: 32768 minimum: 301
[ 20.845501] Security Framework initialized
[ 20.845526] AppArmor: AppArmor disabled by boot time parameter
[ 20.845592] Mount-cache hash table entries: 512
[ 20.845976] Initializing cgroup subsys cpuacct
[ 20.846003] Initializing cgroup subsys memory
[ 20.846040] Initializing cgroup subsys devices
[ 20.846053] Initializing cgroup subsys freezer
[ 20.846062] Initializing cgroup subsys net_cls
[ 20.846071] Initializing cgroup subsys blkio
[ 20.846094] Initializing cgroup subsys perf_event
[ 20.846115] Initializing cgroup subsys bfqio
[ 20.846206] CPU: Testing write buffer coherency: ok
[ 20.847496] devtmpfs: initialized
[ 20.849312] NET: Registered protocol family 16
[ 20.849973] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 20.849988] Feroceon L2: Enabling L2
[ 20.850026] Feroceon L2: Cache support initialised.
[ 20.850547] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 20.850576] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 20.855665] bio: create slab <bio-0> at 0
[ 20.856035] vgaarb: loaded
[ 20.856304] SCSI subsystem initialized
[ 20.856463] libata version 3.00 loaded.
[ 20.856679] usbcore: registered new interface driver usbfs
[ 20.856776] usbcore: registered new interface driver hub
[ 20.856881] usbcore: registered new device driver usb
[ 20.857441] Switching to clocksource orion_clocksource
[ 20.865378] Switched to NOHz mode on CPU #0
[ 20.866394] FS-Cache: Loaded
[ 20.876240] NET: Registered protocol family 2
[ 20.876486] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 20.877203] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 20.877389] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 20.877525] TCP: Hash tables configured (established 8192 bind 8192)
[ 20.877536] TCP reno registered
[ 20.877549] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 20.877572] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 20.877810] NET: Registered protocol family 1
[ 20.877845] PCI: CLS 0 bytes, default 32
[ 20.878435] audit: initializing netlink socket (disabled)
[ 20.878469] type=2000 audit(0.120:1): initialized
[ 20.965317] VFS: Disk quotas dquot_6.5.2
[ 20.965585] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 20.967877] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 20.969190] aufs 3.1-20111107
[ 20.969212] msgmni has been set to 492
[ 20.970564] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 20.970580] io scheduler noop registered
[ 20.970588] io scheduler deadline registered
[ 20.970669] io scheduler cfq registered
[ 20.970740] io scheduler bfq registered (default)
[ 20.970804] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 20.970837] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 21.007523] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 21.047522] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 21.087519] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 21.127519] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 21.132616] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 21.153305] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 21.700558] console [ttyS0] enabled
[ 21.710198] brd: module loaded
[ 21.716279] loop: module loaded
[ 21.720428] ONFI flash detected
[ 21.723835] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[ 21.732344] Scanning device for bad blocks
[ 21.811744] Bad eraseblock 1012 at 0x000007e80000
[ 21.816503] Bad eraseblock 1013 at 0x000007ea0000
[ 21.821997] 4 cmdlinepart partitions found on MTD device orion_nand
[ 21.828306] Creating 4 MTD partitions on "orion_nand":
[ 21.833475] 0x000000000000-0x000000100000 : "u-boot"
[ 21.838829] 0x000000100000-0x000000500000 : "uImage"
[ 21.844122] 0x000000500000-0x000002500000 : "rootfs"
[ 21.849466] 0x000002500000-0x000008000000 : "data"
[ 21.855419] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 21.862371] mv643xx_eth smi: probed
[ 21.868046] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:25:31:02:ca:00
[ 21.876993] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 21.883632] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 21.888982] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 21.917492] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 21.937486] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 21.944041] hub 1-0:1.0: USB hub found
[ 21.947846] hub 1-0:1.0: 1 port detected
[ 21.952283] Initializing USB Mass Storage driver...
[ 21.957276] usbcore: registered new interface driver usb-storage
[ 21.963335] USB Mass Storage support registered.
[ 21.968070] usbcore: registered new interface driver libusual
[ 21.974152] mousedev: PS/2 mouse device common for all mice
[ 22.267492] usb 1-1: new high speed USB device number 2 using orion-ehci
[ 22.419429] hub 1-1:1.0: USB hub found
[ 22.423555] hub 1-1:1.0: 4 ports detected
[ 22.707812] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[ 22.823297] usb-storage 1-1.1:1.0: Quirks match for vid 05e3 pid 0723: 8000
[ 22.830371] scsi0 : usb-storage 1-1.1:1.0
[ 22.907829] usb 1-1.2: new high speed USB device number 4 using orion-ehci
[ 22.987479] rtc-mv rtc-mv: internal RTC not ticking
[ 22.992545] sdhci: Secure Digital Host Controller Interface driver
[ 22.998801] sdhci: Copyright(c) Pierre Ossman
[ 23.003438] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 23.011544] sdhci-pltfm: SDHCI platform and OF driver helper
[ 23.017408] Registered led device: plug:red:misc
[ 23.022180] Registered led device: status:green:health
[ 23.027435] Registered led device: status:blue:health
[ 23.032763] usbcore: registered new interface driver r8712u
[ 23.043919] GRE over IPv4 demultiplexor driver
[ 23.048387] TCP cubic registered
[ 23.051818] NET: Registered protocol family 17
[ 23.056391] lib80211: common routines for IEEE802.11 drivers
[ 23.062134] lib80211_crypt: registered algorithm 'NULL'
[ 23.067414] Registering the dns_resolver key type
[ 23.072194] Gating clock of unused units
[ 23.076158] before: 0x00dfc3fd
[ 23.079265] after: 0x00c701d9
[ 23.082839] registered taskstats version 1
[ 23.087674] netconsole: local port 6665
[ 23.091531] netconsole: local IP 10.10.10.3
[ 23.095732] netconsole: interface 'eth0'
[ 23.099695] netconsole: remote port 6666
[ 23.103633] netconsole: remote IP 10.10.10.4
[ 23.107969] netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 23.115104] netconsole: device eth0 not up yet, forcing it
[ 23.829274] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0
[ 23.838282] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 24.110961] sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[ 24.119701] sd 0:0:0:0: [sda] Write Protect is off
[ 24.124521] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 24.130827] sd 0:0:0:0: [sda] No Caching mode page present
[ 24.136343] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 24.146825] sd 0:0:0:0: [sda] No Caching mode page present
[ 24.152509] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 24.160272] sda: sda1
[ 24.166076] sd 0:0:0:0: [sda] No Caching mode page present
[ 24.171768] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 24.177947] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 27.137476] netconsole: timeout waiting for carrier
[ 27.143251] console [netcon0] enabled
[ 27.146939] netconsole: network logging started
[ 27.151601] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 27.158223] Waiting 10sec before mounting root device...
[ 37.169218] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 37.198464] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 37.206202] VFS: Mounted root (ext3 filesystem) on device 8:1.
[ 37.216884] devtmpfs: mounted
[ 37.220542] Freeing init memory: 172K
[ 37.797630] systemd[1]: systemd 197 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 37.886799] systemd[1]: Inserted module 'autofs4'
[ 37.893335] systemd[1]: Set hostname to <Arch>.
[ 38.126046] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 38.148418] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 38.156463] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 38.164219] systemd[1]: Expecting device dev-ttyS0.device...
[ 38.187623] systemd[1]: Starting Syslog Socket.
[ 38.207586] systemd[1]: Listening on Syslog Socket.
[ 38.213628] systemd[1]: Starting Remote File Systems.
[ 38.237573] systemd[1]: Reached target Remote File Systems.
[ 38.243276] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 38.267570] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 38.274217] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 38.297576] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 38.304687] systemd[1]: Starting LVM2 metadata daemon socket.
[ 38.337568] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 38.343778] systemd[1]: Starting Delayed Shutdown Socket.
[ 38.367566] systemd[1]: Listening on Delayed Shutdown Socket.
[ 38.373454] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 38.381765] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 38.390150] systemd[1]: Starting udev Kernel Socket.
[ 38.417643] systemd[1]: Listening on udev Kernel Socket.
[ 38.423354] systemd[1]: Starting udev Control Socket.
[ 38.447571] systemd[1]: Listening on udev Control Socket.
[ 38.453210] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 38.487577] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 38.497113] systemd[1]: Starting Encrypted Volumes.
[ 38.517636] systemd[1]: Reached target Encrypted Volumes.
[ 38.523154] systemd[1]: Starting Swap.
[ 38.547560] systemd[1]: Reached target Swap.
[ 38.551949] systemd[1]: Starting Journal Socket.
[ 38.577566] systemd[1]: Listening on Journal Socket.
[ 38.582666] systemd[1]: Mounting Temporary Directory...
[ 38.658825] systemd[1]: Mounting Debug File System...
[ 38.900774] systemd[1]: Started Set Up Additional Binary Formats.
[ 38.907034] systemd[1]: Starting Setup Virtual Console...
[ 39.164068] systemd[1]: Started Load Kernel Modules.
[ 39.169259] systemd[1]: Mounted FUSE Control File System.
[ 39.174788] systemd[1]: Mounted Configuration File System.
[ 39.180696] systemd[1]: Starting udev Kernel Device Manager...
[ 39.248507] systemd[1]: Starting udev Coldplug all Devices...
[ 39.318249] systemd[1]: Mounted Huge Pages File System.
[ 39.325411] systemd-udevd[54]: starting version 197
[ 39.330680] systemd[1]: Mounting POSIX Message Queue File System...
[ 39.535401] systemd[1]: Starting Apply Kernel Variables...
[ 39.608612] systemd[1]: Starting Journal Service...
[ 39.687727] systemd[1]: Started Journal Service.
[ 39.692660] systemd[1]: Starting Syslog.
[ 39.707843] systemd[1]: Reached target Syslog.
[ 39.714548] systemd[1]: Started File System Check on Root Device.
[ 39.727314] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 39.817753] systemd[1]: Started udev Kernel Device Manager.
[ 39.867607] systemd[1]: Mounted Temporary Directory.
[ 39.887636] systemd[1]: Mounted Debug File System.
[ 39.947584] systemd[1]: Started Setup Virtual Console.
[ 40.017745] systemd[1]: Mounted POSIX Message Queue File System.
[ 40.097684] systemd[1]: Started Apply Kernel Variables.
[ 40.157687] systemd[1]: Started Remount Root and Kernel File Systems.
[ 40.227755] systemd[1]: Started udev Coldplug all Devices.
[ 40.233468] systemd[1]: Starting Local File Systems (Pre).
[ 40.267733] systemd[1]: Reached target Local File Systems (Pre).
[ 40.273881] systemd[1]: Starting Load Random Seed...
[ 40.348383] systemd[1]: Starting Local File Systems.
[ 40.377709] systemd[1]: Reached target Local File Systems.
[ 40.404395] systemd[1]: Starting Recreate Volatile Files and Directories...
[ 40.478508] systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
[ 40.563344] cfg80211: Calling CRDA to update world regulatory domain
[ 40.657718] systemd[1]: Started Load Random Seed.
[ 40.737690] systemd[1]: Started Recreate Volatile Files and Directories.
[ 40.749489] systemd[1]: Starting System Initialization.
[ 40.777672] systemd[1]: Reached target System Initialization.
[ 40.787271] systemd[1]: Starting D-Bus System Message Bus Socket.
[ 40.827778] systemd[1]: Listening on D-Bus System Message Bus Socket.
[ 40.834366] systemd[1]: Starting Sockets.
[ 40.867729] systemd[1]: Reached target Sockets.
[ 40.872426] systemd[1]: Starting Daily Cleanup of Temporary Directories.
[ 40.890778] systemd[1]: Started Daily Cleanup of Temporary Directories.
[ 40.902971] systemd[1]: Starting Basic System.
[ 40.937794] systemd[1]: Reached target Basic System.
[ 40.942911] systemd[1]: Starting Periodic Command Scheduler...
[ 41.037698] systemd[1]: Started Periodic Command Scheduler.
[ 41.043513] systemd[1]: Starting Netcfg multi-profile daemon...
[ 41.119675] systemd[1]: Started SSH Key Generation.
[ 41.124799] systemd[1]: Starting OpenSSH Daemon...
[ 41.207686] systemd[1]: Started OpenSSH Daemon.
[ 41.216146] systemd[1]: Starting Login Service...
[ 41.288295] systemd[1]: Starting D-Bus System Message Bus...
[ 41.377674] systemd[1]: Started D-Bus System Message Bus.
[ 41.388703] systemd[1]: Starting System Logger Daemon...
[ 41.487668] systemd[1]: Started System Logger Daemon.
[ 41.527835] systemd[1]: Found device /dev/ttyS0.
[ 41.703336] systemd-journald[72]: Received SIGUSR1
[ 41.757660] systemd[1]: Started Login Service.
[ 41.817621] systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
[ 41.825521] systemd[1]: Starting Permit User Sessions...
[ 42.397393] NET: Registered protocol family 10
[ 42.418681] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 42.935779] usb 1-1.2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 43.162698] ath9k_htc 1-1.2:1.0: ath9k_htc: HTC initialized with 33 credits
[ 43.412721] ath9k_htc 1-1.2:1.0: ath9k_htc: FW Version: 1.3
[ 43.433965] ath: EEPROM regdomain: 0x809c
[ 43.441705] ath: EEPROM indicates we should expect a country code
[ 43.477531] ath: doing EEPROM country->regdmn map search
[ 43.482884] ath: country maps to regdmn code: 0x52
[ 43.517507] ath: Country alpha2 being used: CN
[ 43.521983] ath: Regpair used: 0x52
[ 43.572046] ieee80211 phy0: Atheros AR9271 Rev:1
[ 43.588873] Registered led device: ath9k_htc-phy0
[ 43.593621] usb 1-1.2: ath9k_htc: USB layer initialized
[ 43.628954] usbcore: registered new interface driver ath9k_htc
[ 71.168148] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 74.936333] wlan0: authenticate with 14:d6:4d:28:dd:a0 (try 1)
[ 74.949280] wlan0: authenticated
[ 74.957511] wlan0: associate with 14:d6:4d:28:dd:a0 (try 1)
[ 74.967399] wlan0: RX AssocResp from 14:d6:4d:28:dd:a0 (capab=0x431 status=0 aid=2)
[ 74.987485] wlan0: associated
[ 75.040956] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 85.717489] wlan0: no IPv6 routers present
')

/etc/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=("profile1")
')

omitted wireless profile
$this->bbcode_second_pass_code('', '

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
PRE_UP='sleep 20'
SECURITY='wpa'
SCAN=yes

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

IP='dhcp'

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

wired-eth0 network profile
$this->bbcode_second_pass_code('', '
CONNECTION='ethernet'
DESCRIPTION='A basic dhcp ethernet connection using iproute'
INTERFACE='eth0'
IP='dhcp'
## for DHCPv6
#IP6='dhcp'
## for IPv6 autoconfiguration
#IP6='stateless'

## Example of static eth0
#CONNECTION='ethernet'
#DESCRIPTION='A basic static ethernet connection using iproute'
#INTERFACE='eth0'
#IP='static'
#ADDR='192.168.1.23'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
#GATEWAY='192.168.1.1'
#DNS=('192.168.1.1')
')

ifconfig
$this->bbcode_second_pass_code('', '
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 256 (256.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 256 (256.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.196 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::56e6:fcff:fe95:e184 prefixlen 64 scopeid 0x20<link>
ether 54:e6:fc:95:e1:84 txqueuelen 1000 (Ethernet)
RX packets 1112 bytes 241776 (236.1 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 430 bytes 61809 (60.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
')

systemctl list-units | grep cfg
$this->bbcode_second_pass_code('', '
netcfg.service loaded active exited Netcfg multi-profile daemon
')

systemctl status netcfg.service
$this->bbcode_second_pass_code('', '
netcfg.service - Netcfg multi-profile daemon
Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
Active: active (exited) since Wed 1969-12-31 16:01:01 PST; 43 years 2 months ago
Process: 114 ExecStart=/usr/bin/netcfg-daemon start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/netcfg.service
ââ274 wpa_supplicant -B -P /run/wpa_supplicant_wlan0.pid -i wlan0 -D nl80211,wext -c/run/network/wp...
ââ343 dhcpcd -qL -t 10 wlan0
')

/etc/systemd/system/multi-user.target.wants
$this->bbcode_second_pass_code('', '
cronie.service openntpd.service sshdgenkeys.service syslog-ng.service
netcfg.service remote-fs.target sshd.service vncserver@:1.service
')

- /etc/modules-load.d/ is empty
- kernel version Linux Arch 3.1.10-16
- Pogoplug E02
- Wireless Adapter TP-Link TL-WN722N

I'm just going to make an image of the drive and restore it anytime something goes wrong.

Thanks for all of your help!
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Getting Wireless working on Pogoplug E02

Postby sneasle » Fri Mar 29, 2013 3:21 am

Ok guys, I have this same wifi adapter, and being the noob that I am, I must say this thread has me totally confused.

I have an E02 pogo as well, currently working fine over ethernet that I would like to run on wifi. So far everything looks good:

-Basic AL-ARM install (whatever kernel the 'current' install pulls from)
-Did all the updates $this->bbcode_second_pass_code('', 'pacman -Syu') and $this->bbcode_second_pass_code('', 'pacman -S base-devl')
-Installed project specific modules
-Installed wireless_tools $this->bbcode_second_pass_code('', 'pacman -S wireless_tools')
-Installed iw $this->bbcode_second_pass_code('', 'pacman -S iw')
-lsusb shows the adapter, correct firmware $this->bbcode_second_pass_code('', 'htc_9271.fw') is listed in firmware folder $this->bbcode_second_pass_code('', '/lib/firmware')
-iplink $this->bbcode_second_pass_code('', 'ip link') shows the adapter as wlan0
-did an $this->bbcode_second_pass_code('', 'ip link set dev wlan0 up') to bring up the adapter.
-did an iw scan to see if it is working $this->bbcode_second_pass_code('', 'iw dev wlan0 scan | less')
-modifying a netcfg wireless example file $this->bbcode_second_pass_code('', 'nano /etc/network.d/examples/wireless-open')
-saved file to $this->bbcode_second_pass_code('', '/etc/network.d')

Now I am at the point where I need help. I want this pogo to look for a wired connection first on boot, and then grab the wireless. That way I can still plug into it if I have a problem or my wifi dies. I think netcfg allows for this, but I don't really understand the explanation in the wiki page. Can someone break it down more clearly for me?

Once I get this working I have a 3rd pogo to do the install on from scratch, so I will document my steps and post them here to hopefully make it easier for the next person.


edit: I'm having an issue with iw on my second pogo, for some reason I get a 'failed to retrieve file' error, but I can easily ping google so I'm not sure what's wrong.
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Getting Wireless working on Pogoplug E02

Postby pepedog » Fri Mar 29, 2013 2:14 pm

In /etc/conf.d/netcfg you have a line that looks like this?
NETWORKS=(wired-eth0)
wired-eth0 is a filename in /etc/network.d/
So
NETWORKS=(wired-eth0 wireless-open)

Or
systemctl start netcfg@wireless-open
systemctl enable netcfg@wireless-open
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Getting Wireless working on Pogoplug E02

Postby sneasle » Fri Mar 29, 2013 6:16 pm

$this->bbcode_second_pass_quote('pepedog', 'I')n /etc/conf.d/netcfg you have a line that looks like this?
NETWORKS=(wired-eth0)
wired-eth0 is a filename in /etc/network.d/
So
NETWORKS=(wired-eth0 wireless-open)

Or
systemctl start netcfg@wireless-open
systemctl enable netcfg@wireless-open


Do if I take these steps I should be good?

Edit /etc/conf.d/netcfg to contain NETWORKS=(wired-eth0 wireless-open) for my case.
And then disable netcfg in systemctl and re-enable it as netcfg@wireless-open? Won't that auto load the wireless profile if I do that and then fall back on the lan if it can't connect?
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Getting Wireless working on Pogoplug E02

Postby pepedog » Fri Mar 29, 2013 6:57 pm

I used the or word.
Either edit /etc/conf.d/netcfg
Or
systemctl what I told you
Then both will start
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 17 guests