Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Wireless doesnt work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 21, 2013 1:22 pm    Post subject: [SOLVED]Wireless doesnt work Reply with quote

Hello,

I`ve been trying to make wireless connection for 2 days. Applied several things that I saw at forum. I`m at sixes and sevenses. But it`s not still working

Code:
# lspci
.....................
09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
..............
# iwconfig
wlp9s0    no wireless extensions.
lo        no wireless extensions.
enp5s0    no wireless extensions.
sit0      no wireless extensions.

# rc-status | grep wlp9s0
 net.wlp9s0                                                        [ inactive  ]

# /etc/init.d/net.wlp9s0 start
 * WARNING: net.wlp9s0 has already started, but is inactive


/etc/conf.d/net
Code:
config_enp5s0="dhcp"
config_wlp9s0="dhcp"


I installed linux firmware. Networkmanager doesnt work wpa-supplicant doesnt scan. Help please


Last edited by hcyildiran on Thu Aug 01, 2013 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Sun Jul 21, 2013 4:26 pm    Post subject: Reply with quote

Things broke up with kernel above 3.7.10.

A workaround is
Code:
iwlist scan
try it.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 21, 2013 5:55 pm    Post subject: Reply with quote

Code:
Interface doesnt support scanning


Now I've lost my enp5s0 and wlp5s0

Code:
# iwconfig
lo        no wireless extensions.
sit0      no wireless extensions.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Jul 21, 2013 6:09 pm    Post subject: Reply with quote

Code:

cat /usr/src/linux/.config | wgetpaste


(as found @ https://wiki.gentoo.org/wiki/Troubleshooting)

or if you have .config support compiled in to your kernel (thats more accurate than /usr/src/linux/.config)

zcat /proc/config.gz | wgetpaste
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 21, 2013 7:59 pm    Post subject: Reply with quote

First I must make my network usable again, if I can.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 22, 2013 5:57 pm    Post subject: Reply with quote

I couldnt repair my network.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 22, 2013 8:40 pm    Post subject: Reply with quote

While boot I see

Code:
Failed to load r8169
Failed to load iwlwifi

mount: unknown file  system type 'ext2'
 Some local file system failed to mount

Could not find a wireless interface
ERROR wpa_suplicant failed to start
ERROR interface enp5s0 does not exist
ensure that you have loaded the correct kernel module for your hardware
ERROR : net.wlp5s0 failed to start
Warning netmount is scheduled when NetworkManager has started


Before trying to make wifi I could use wired internet (enp5so) .

Code:
# nano -w /usr/src/linux/.config

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2051.jpg[/IMG]
[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2049.jpg[/IMG]
[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2050.jpg[/IMG]

I think I broke down something
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 22, 2013 8:49 pm    Post subject: Reply with quote

And

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2061.jpg[/IMG]
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 22, 2013 8:56 pm    Post subject: Reply with quote

The last one

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2041.jpg[/IMG]
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 134
Location: China

PostPosted: Wed Jul 24, 2013 2:34 am    Post subject: Reply with quote

use
Code:
iw wlan0(use your interface instead) scan


iw instead of iwlist,,what print back?

see my post:

https://forums.gentoo.org/viewtopic-t-965024-highlight-.html

hope it 'll be helpful

and if solved ,please mark the post as [Solved]XXXX.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Wed Jul 24, 2013 7:54 pm    Post subject: Reply with quote

double_crane

Unfortunately ıt is not helpful. Thank you.
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Wed Jul 24, 2013 8:29 pm    Post subject: Reply with quote

iw wlan0 scan

is useful to scan and make networkmanager connect.
but you have to scan with it any time you restart your pc.

/etc/local/xxx.start make the trick.

It's a dirty workaround I dislike!
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Wed Jul 24, 2013 9:59 pm    Post subject: Reply with quote

It doesnt work. Before "iw wlan0 scan" command, anything to do?

I think my problem is about kernel. I made some configuration changes. After than problem occured, may be. If I am wrong please correct me:
Any change in the same kernel:
mount /boot
changes
"make && make modules_install"
copy bzImage
anything in grub.conf?


I cant mount my boot. Can I do same changes in liveCD-chroot?
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Wed Jul 24, 2013 10:05 pm    Post subject: Reply with quote

When I did it in chroot-live cd

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2062.jpg[/IMG]


'Hata' means error (Turkish)
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 134
Location: China

PostPosted: Thu Jul 25, 2013 1:26 am    Post subject: Reply with quote

when you change kernel CONFIG , did you change Network options in the main menu? I only change drievrs--> network drivers.

the eth0 is able to work only if you choose the right driver in drivers
the wlan0 is able to work only if you choose the right driver in drivers and put the right firmware in /lib/firmware(or make it into kernel external firmware)

I think you change the network options in the main menu , or there is some other problems in your system that lead to the net error.

nothing is must to change in menu.lst(or grub.cfg), just " root (hdX,X) kernel your_kernel_name(bzImage ) root=/dev/sdxX(or UUID) and some other options"
if you genkernel(certainly you are not), you need initrd.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Fri Jul 26, 2013 8:13 pm    Post subject: Reply with quote

Everything is confused. I give up. I'm going to try a new install. See you soon :)
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 28, 2013 9:39 pm    Post subject: Reply with quote

Hi again, I finished a new installation. The first time r8169 and iwlwifi were <*> , now <M> and made modprobe r8169 and modprobe iwlwifi.
At the beginning wired connection worked regularly. When I emerged NetworkManager and added NetworkManager and wpa supplicant default to setup w'reless, internet stopped. While opening system I see

Code:
Failed to read or parse configuration `/etc/wpa_supplicant/wpa_supplicant.conf`.
* start-stop-daemon? failed to start `/usr/sbin/wpa_supplicant`
* Failed to start wpa_supplicant
* ERROR: wpa_supplicant failed to start

*WARNING: NetworkManager has started, but is inactive

*WARNING: netmount is scheduled to start when NetworkManager has started


Sometimes even wired connection is not working. And sometimes if I `connect` in wpa_gui wired connection is coming back. I haven`t seen wireless yet

Here are:
* kernel conf http://bpaste.net/show/118102/
* dmesg: http://bpaste.net/show/118104/
Code:
# ls /sys/class/net
enp5s0  lo  sit0  wlp9s0


I need guides
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Mon Jul 29, 2013 12:42 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/NetworkManager

looks like that guides missing "remove dhcp & net.* scripts from startup, except net.lo"
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 29, 2013 7:43 pm    Post subject: Reply with quote

I reviewed https://wiki.gentoo.org/wiki/NetworkManager I couldnt set polkit up

Code:
# rc-update add polkit default
 * rc-update: service `polkit' does not exist


I`ve reemerged sys-auth/polkit and again

Code:
# rc-update add polkit default
 * rc-update: service `polkit' does not exist
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 29, 2013 8:12 pm    Post subject: Reply with quote

Is there anything to explain that

Code:
 # dmesg | tail
[   11.842214] r8169 0000:05:00.0 enp5s0: link down
[   13.474739] r8169 0000:05:00.0 enp5s0: link up
[   13.474761] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
[   23.831937] iwlwifi 0000:09:00.0: L1 Disabled; Enabling L0S
[   23.838621] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[   24.032657] iwlwifi 0000:09:00.0: L1 Disabled; Enabling L0S
[   24.039336] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[   24.242241] IPv6: ADDRCONF(NETDEV_UP): wlp9s0: link is not ready
[   46.505214] EXT4-fs (sda3): re-mounted. Opts: commit=0
[  302.140494] kworker/u:0 (6) used greatest stack depth: 4000 bytes left
Back to top
View user's profile Send private message
DrekAlots
n00b
n00b


Joined: 29 Aug 2008
Posts: 59

PostPosted: Tue Jul 30, 2013 12:11 am    Post subject: Reply with quote

For what it's worth, I had too many problems with NetworkManager so I removed it and installed Wicd. Wireless has been fine ever since.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Thu Aug 01, 2013 8:50 am    Post subject: Reply with quote

DrekAlots wrote:
For what it's worth, I had too many problems with NetworkManager so I removed it and installed Wicd. Wireless has been fine ever since.


NetworkManager didn't work anyway. I installed wicd too. I'm on my wireless. Thank you
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Thu Aug 01, 2013 10:11 am    Post subject: Reply with quote

Think that in 2011 I tried wicd but I wasn't be able to make it work, so passed to networkmanager.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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