You are not logged in.
I'm having a very strange problem with my wireless connection when I try to install from the net installer on a USB stick.
I am able to get my wireless card up and running by using the following commands (from memory, not at that machine right now):
ip link set wlan0 up
iwconfig wlan0 essid "MY_ROUTER" key "MY_PASSWD"
iwconfig wlan0 channel auto
dhcpcd wlan0
The problem is that the connection dies after a few minutes. I haven't been able to work out why it's happening, but just running
iwconfig wlan0 essid "MY_ROUTER" key "MY_PASSWD"
again will get it back up again briefly.
This is really frustrating as it means the install will fail part way through as it will no longer be able to grab stuff from the server.
Does anyone have any suggestions as to what could be going wrong and how to go about fixing it.
Offline
Details of your wifi card?
Offline
Wired is not an option?
Not kidding.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
The output of lscpi | grep -i net is:
04:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express gigabit Ethernet controller (rev 06)
The model no. is: TL-WN951N (TP-Link)
Wired is not currently an option at the moment due to the location of the router.
Offline
Check dmesg for details, it may give you a hit of what's going on. Run dmesg -n7 to increase verbosity level if there's nothing there.
You may also try to disable any wireless security, unless you have strong security concerns of course.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
https://bbs.archlinux.org/viewtopic.php?id=137137
You might need latest compat-wireless .
Offline
If I run
dmesg | grep -i wlan0
after the wireless dies the last entry is :
[ 488.566209] wlan0: no IPv6 routers present
I am not able to disable the wireless security (if you can even call it that - it's just WEP) because it will mess with other people connecting through this router.
I think I was able to keep the connection alive long enough to get a bit further through the install process tonight[1], but the issues from yesterday are still present.
[^1] now I'm trying to sus out how to get LVM, GPT and syslinux to work properly, but that's for another post...
Offline
If I run
dmesg | grep -i wlan0
after the wireless dies the last entry is :
[ 488.566209] wlan0: no IPv6 routers present
Don't grep for wlan0, not all useful messages contain this string (apparently, no useful message contains that string here). Go for last 20 lines or so just after the connection has dropped, there shouldn't be anything else in the log unless you did something hardware-related (connecting usb device, repartitioning hard drive, etc.) Also make sure that verbosity level is at maximum by running dmesg -ndebug right after you get root prompt.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
Well I've got Arch installed (basic command line so far) but the problem is still there. The output of
dmesg | tail -n 30
is:
[ 3.994653] snd_hda_intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 3.994657] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 3.994660] i915 0000:00:02.0: setting latency timer to 64
[ 3.994716] snd_hda_intel 0000:01:00.1: irq 47 for MSI/MSI-X
[ 3.994732] snd_hda_intel 0000:01:00.1: setting latency timer to 64
[ 4.006419] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
[ 4.006493] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[ 4.021613] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[ 4.021615] [drm] MTRR allocation failed. Graphics performance may suffer.
[ 4.021790] i915 0000:00:02.0: irq 48 for MSI/MSI-X
[ 4.021793] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 4.021793] [drm] Driver supports precise vblank timestamp query.
[ 4.021811] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 4.132324] [drm:pch_irq_handler] *ERROR* PCH poison interrupt
[ 4.433416] fb1: inteldrmfb frame buffer device
[ 4.433456] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 1
[ 4.586790] device-mapper: uevent: version 1.0.3
[ 4.586897] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 4.677219] device fsid 981c88d8-328b-4e52-8993-f34136af0074 devid 1 transid 22 /dev/mapper/VolGroup01-home
[ 4.708027] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[ 4.709018] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[ 5.067951] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 110.899342] wlan0: authenticate with 00:1f:33:2d:f7:4c (try 1)
[ 110.925043] wlan0: authenticated
[ 110.932308] wlan0: associate with 00:1f:33:2d:f7:4c (try 1)
[ 110.955436] wlan0: RX AssocResp from 00:1f:33:2d:f7:4c (capab=0x431 status=0 aid=3)
[ 110.955439] wlan0: associated
[ 110.956250] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 121.456287] wlan0: no IPv6 routers present
[ 187.979522] cfg80211: Calling CRDA for country: CN
Offline
https://bbs.archlinux.org/viewtopic.php?id=137137
You might need latest compat-wireless .
This is 5xxx hardware, not 92xx. So it's the ath5k driver he needs. Never hurts to try though.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
The last line concering CRDA might be what's causing the trouble - are you physically located in China? If not, you should uncomment your country in /etc/conf.d/wireless-regdom and "restart" the wireless-regdom "daemon".
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
fixed the wireless-regdom setting but the problem is still there
[ 4.701020] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
[ 4.701097] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[ 4.832375] device-mapper: uevent: version 1.0.3
[ 4.832498] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 4.921928] device fsid 981c88d8-328b-4e52-8993-f34136af0074 devid 1 transid 36 /dev/mapper/VolGroup01-home
[ 4.953072] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[ 4.954048] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[ 5.330205] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 53.065606] wlan0: authenticate with 00:1f:33:2d:f7:4c (try 1)
[ 53.088404] wlan0: authenticated
[ 53.095775] wlan0: associate with 00:1f:33:2d:f7:4c (try 1)
[ 53.119829] wlan0: RX AssocResp from 00:1f:33:2d:f7:4c (capab=0x431 status=0 aid=1)
[ 53.119832] wlan0: associated
[ 53.120640] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 63.927216] wlan0: no IPv6 routers present
[ 101.330398] cfg80211: Calling CRDA to update world regulatory domain
[ 101.331556] cfg80211: World regulatory domain updated:
[ 101.331558] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 101.331559] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 101.331561] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 101.331562] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (3
BBCode: on [img] tag: on Smilies: on00 mBi, 2000 mBm)
[ 101.331563] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 101.331565] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 101.331630] cfg80211: Calling CRDA for country: NZ
[ 101.332622] cfg80211: Regulatory domain changed to country: NZ
[ 101.332624] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 101.332625] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 101.332627] cfg80211: (5170000 KHz - 5250000 KHz @ 20000 KHz), (300 mBi, 2300 mBm)
[ 101.332628] cfg80211: (5250000 KHz - 5330000 KHz @ 20000 KHz), (300 mBi, 2300 mBm)
[ 101.332629] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (300 mBi, 3000 mBm)
Just a note, I think before I updated the regdom thingy the last line would change between "Calling CRDA for country" and "Calling CRDA to update world regulatory domain" which is possibly why I didn't spot the China thing sooner.
Offline
s/dying/dieing/
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Since this problem is still there after I've done the install step is there a better sub-forum it could be moved to?
@ewaller: "dying" is the correct spelling - or are you getting at something else?
Offline
@ewaller: "dying" is the correct spelling - or are you getting at something else?
My bad. Sorry about that. ewaller hides in embarrassment.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline