Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with install on USB....round 4..
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Tue Feb 12, 2013 9:33 pm    Post subject: Reply with quote

btalcox0715,

rf-kill is either a hardware switch on you PC that controls the WiFi transmitter to save power, or a key combination that needs needs kernel and userspace support or a software key that works like the key combination. In any event, your wireless transmitter is powered off.

Add rf-kill support to your kernel and emerge rfkill for the user space tools, unless you have a hardware switch, in which case, just operate the switch.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Feb 12, 2013 9:39 pm    Post subject: Reply with quote

Code:
emerge rfkill
/etc/init.d/wpa_supplicant stop
/etc/init.d/dhcpcd stop
rfkill unblock all
/etc/init.d/net.wlan0 restart


Code:
grep -i  CONFIG_CFG80211_DEFAULT_PS /usr/src/linux/.config
yields
Quote:
CONFIG_CFG80211_DEFAULT_PS=y
change mernuconfig under [*] Networking support ---> -*- Wireless ---> from [*] enable powersave by default to [ ] enable powersave by default . diable nic powersaving
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Tue Feb 12, 2013 10:03 pm    Post subject: Reply with quote

Okay well now I can't even emerge anything. I have internet in arch and everything. Doing everything the same as always, and keeps failing to emerge due to network problems.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Tue Feb 12, 2013 10:17 pm    Post subject: Reply with quote

Well hoping after I reboot emerge will work again, who knows. Recompiling the kernel now. I have rfkill support enabled as well as cfg80211 powersave by default disabled.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Wed Feb 13, 2013 1:57 am    Post subject: Reply with quote

Well, still can't get this working. Even with rfkill (which I had to download manually and make install because emerge isn't working through chroot environment even though I have internet in Arch).

But I took 7 pictures (because I don't have any way of uploading the outputs yet) of lsusb, lsmod, dmesg, my config files, iwconfig, ifconfig etc etc.

http://imgur.com/a/X56fe

EDIT: the first picture is weird, you have to hit view full resolution to view it. And the pictures are sideways thanks to imgur :P
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Feb 13, 2013 3:53 am    Post subject: Reply with quote

from my dmesg:
Quote:
[ 2528.437596][ 2532.288133] wlan0: authenticate with 11:11:11:11:11:11
[ 2532.330968] wlan0: send auth to 11:11:11:11:11:11 (try 1/3)
[ 2532.332356] wlan0: authenticated 11:11:11:11:11:11
[ 2532.332656] wlan0: associate with 11:11:11:11:11:11 (try 1/3)
[ 2532.336087] wlan0: RX AssocResp from (capab=0x431 status=0 aid=4)
[ 2532.343593] wlan0: associated
and my ifconfig
Quote:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:02:6f:d8:f9:e8 txqueuelen 1000 (Ethernet)
RX packets 20198 bytes 26586144 (25.3 MiB)
RX errors 0 dropped 172 overruns 0 frame 0
TX packets 11732 bytes 1137409 (1.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
so my dmesg lacks the phy0 lines you have; my ifconfig shows an ip address from dhcp that yours does not. It appears that your nic is trying to do something that mine does not do.
I did not see anything in the photos to explain this.
Code:
iwlist wlan0 scan > /sc
then boot arch,. mount the gentoo partitions and post the content of /mnt/gentoo/sc. Use a pastebin site if large.

try the follwing short form chroot procedure
Code:
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
emerge iw wgetpaste



Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot

_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Wed Feb 13, 2013 4:10 am    Post subject: Reply with quote

this is the output:

Quote:
wlan0 Scan completed :
Cell 01 - Address: 84:1B:5E:50:2B:3F
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=60/70 Signal level=-50 dBm
Encryption key:on
ESSID:"Phi Gamma Delta"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000120c123db7d
Extra: Last beacon: 20ms ago
IE: Unknown: 000F5068692047616D6D612044656C7461
IE: Unknown: 010882840B162430486C
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1AAD191BFFFFFF0000000000000000000000000000000000000000
IE: Unknown: 3D1601001700000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD7C0050F204104A0001101044000102103B000103104700104453E9009B865CC415BDC75EB4CFEA8A1021000D4E455447454$
IE: Unknown: DD09001018020F001C0000
IE: Unknown: DD180050F2020101880003A4000027A400004243BC0062326600
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Wed Feb 13, 2013 10:01 pm    Post subject: Reply with quote

btalcox0715,

I can see lots of pain with that pre shared key.
With the quotes around it, it will be treated as a string of characters by Gentoo.
Without the quotes, it will be a number. The two are not the same and its important. It may cause your authentication to fail.

Can you test with no encryption?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Feb 13, 2013 10:27 pm    Post subject: Reply with quote

I really like neddy's thought.

http://wireless.kernel.org/en/users/Documentation/iw/vif/ is the closest I can find to a fit for the phy0 manifestation, do xen-sources, hostapd, air-crack, air-mon or the like have any relation to your system? any other virtual stuff?

boot arch, mount gentoo partitions, and post the content of /mnt/gentoo//usr/src/linux/.config at a pastebin site, please. If your arch has wgetpaste;
Code:
wgetpaste  /mnt/gentoo//usr/src/linux/.config
should do it, else, use browser and copy and paste. Really curious about you having phy0 lines when I don't.

Code:
grep -i parallel /etc/rc.conf

want to see:
rc_parallel="NO"
not: rc_parallel="YES" or #rc_parallel="NO" or no rc_parallel= entry at all. Trying to parallel tends to screw up timing for wireless.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Wed Feb 13, 2013 10:39 pm    Post subject: Reply with quote

This is the pastebin link

https://gist.github.com/4949045
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Wed Feb 13, 2013 10:41 pm    Post subject: Reply with quote

I also tried removing the quotes and removing encryption, but all I got was errors reading the wpa_supplicant.conf file when executing /etc/init.d/net.wlan0
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Feb 13, 2013 11:25 pm    Post subject: Reply with quote

Your .config gets interesting at line 3:
Quote:
# Linux/x86 3.6.11-gentoo Kernel Configuration
should be
Quote:
# Linux/x86_64 3.6.11-gentoo Kernel Configuration
to be consistent with the rest of the file. It suggests a default 32 bit configuration was loaded and edited toward 64 bit.

To explore: boot gentoo then: if working
Code:
emerge --info > /emergeinfo
reboot to arch, mount the gentoo partitions, post /mnt/gentoo/emergeinfo and /mnt/gentoo/etc/portage/make.conf here or at pastebin. e
Code:
eselect profile list | grep -i  "*"
output?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Thu Feb 14, 2013 12:01 am    Post subject: Reply with quote

Emerge info output: https://gist.github.com/4949554

Make.conf output: https://gist.github.com/4949567

EDIT: and I didn't get an output from the eselect profile command. Which profile should be selected?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Feb 14, 2013 12:17 am    Post subject: Reply with quote

you likely want default/linux/amd64/13.0/desktop
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Feb 14, 2013 1:09 am    Post subject: Reply with quote

from arch post lspci -k output please
make model of motherboard?
plan to build a stripped down kernel for you since I can't see a real problem. Will be using an fx8150/fx990 cpu/chipset so should be very close
http://www.kernel-seeds.org refers
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Thu Feb 14, 2013 4:09 am    Post subject: Reply with quote

lspci -k output:

Quote:
[root@archlinux brettalcox]# lspci -k
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
Subsystem: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
Kernel driver in use: pcieport
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
Kernel driver in use: pcieport
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
Kernel driver in use: pcieport
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
Subsystem: Giga-byte Technology GA-MA770-DS3rev2.0 Motherboard
Kernel driver in use: ahci
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ohci_hcd
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ohci_hcd
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ehci_hcd
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ohci_hcd
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ohci_hcd
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ehci_hcd
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c)
Subsystem: Giga-byte Technology GA-MA770-DS3rev2.0 Motherboard
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
Subsystem: Giga-byte Technology Device 5002
Kernel driver in use: pata_atiixp
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
Subsystem: Giga-byte Technology Device a002
Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
Subsystem: Giga-byte Technology Device 5004
Kernel driver in use: ohci_hcd
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 3
Kernel driver in use: k10temp
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 4
Kernel driver in use: fam15h_power
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation Device 11c6 (rev a1)
Subsystem: Giga-byte Technology Device 3557
Kernel driver in use: nvidia
01:00.1 Audio device: NVIDIA Corporation Device 0e0b (rev a1)
Subsystem: Giga-byte Technology Device 3557
Kernel driver in use: snd_hda_intel
02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
Subsystem: Giga-byte Technology Device 5007
Kernel driver in use: xhci_hcd
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: Giga-byte Technology Motherboard
Kernel driver in use: r8169
04:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
Subsystem: Giga-byte Technology Device 5007
Kernel driver in use: xhci_hcd
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Feb 14, 2013 4:56 am    Post subject: Reply with quote

Assuming chroot is unavailable
boot arch, mount the gentoo partitions,
Code:
wget -O /mnt/gentoo/usr/src/linux/newconfig http://bpaste.net/raw/77143/
to download new kernel config. reboot to gentoo.
Code:
cd /usr/src/linux
mv .config oldconfig
make clean
make mrproper
mv newconfig .config
make menuconfig
look around, change something change it back, exit saving the configuration
Code:
mount /boot
make && make modules_install && make install
last part, make install, is optional it will name the kernel in /boot vmlinuz-3.6.11-gentoo. manual kernel copy to /boot
Code:
 cp arch/x86/boot/bzImage /boot/your kernel name
is fine. As old kernel mostly works save it and have new kernel name be different. make sure kernel name in grub.conf is exact duplicate of the name in /boot. reboot gentoo.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Thu Feb 14, 2013 5:50 am    Post subject: Reply with quote

Okay, I'm recompiling right now. What exactly is this new kernel doing different?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Feb 14, 2013 6:08 am    Post subject: Reply with quote

it has had a lot of stuff removed. It started with an x86_64 template. It started from a kernel-seed. It is almost exactly the config that works for me on a very close set of equipment to yours. If your wireless still does not connect ...
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Thu Feb 14, 2013 6:21 am    Post subject: Reply with quote

Well dmesg doesn't show the phy0 lines anymore. It seems the psk handshake keeps failing. Which is odd because I connect to the exact same network with the same adapter on Mint and Arch. Could you run me through a standard "procedure" for testing the network. There are so many commands I get confused. I generally end up using /etc/init.d/net.wlan0 (re)start, ifconfig wlan0 up, rfkill unblock all, iwconfig, wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf etc. But I'm not sure what order to use them in. I also get an error sometimes saying ctrl_interface already running or something.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Feb 14, 2013 6:46 am    Post subject: Reply with quote

Code:
/etc/init.d/net.wlan0 restart
should be the winner. This allows the gentoo script to sequence the process.
ctrl-interface already running means wpa_supplicant has started early or been left running.
uncommenting 'rc_logger="YES"' in /etc/rc.conf might provide additional info at /var/log/rc.log.
what does dmesg now say?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Feb 15, 2013 4:26 pm    Post subject: Reply with quote

I don't have a net.wlan0 when debugging; the wlan0 device is generated by the kernel driver,
and I then run (as root) "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf"
which gets me a connection. Since that command doesn't return while the connection remains
active, I run "dhclient wlan0" in another window to get an address for the wlan0 interface.
After a bit of messing around with wpa_supplicant.conf that usually works.

wpa_supplicant contains something like:
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
  ssid="XXXX"
  psk="YYYY"
  priority=5
}


nm's kind of a nightmare to configure; it's supposed to be automatic, and when it works
(as it does on another machine) it's fine. But I've never managed to find all its configuration
files ...

Will
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Sun Feb 17, 2013 9:07 pm    Post subject: Reply with quote

It has to do with the password I think. The 4 way handshake fails. Not really sure where to go from here.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sun Feb 17, 2013 9:17 pm    Post subject: Reply with quote

have you regained the ability to enter chroot?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
btalcox0715
n00b
n00b


Joined: 09 Feb 2013
Posts: 34

PostPosted: Sun Feb 17, 2013 9:19 pm    Post subject: Reply with quote

Yep. I'm not at the box right now and won't be until tomorrow. Emerge works and chroot. Think it was an error I made when mounting etc. etc. What do you suggest?
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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