You are not logged in.
Hi!
I'm about to finish an Arch fresh install, but I'm stuck in Network Manager configuration.
The strange that I could connect normally until I install NM.
If I run:
$ systemctl stop NetworkManager
$ ip link set enp8s8 down
$ ip link set enp8s8 up
My wired interface get IP after 3 or 5 seconds and I can use internet normaly.
But if I start networkmanager, it keep trying and retrying get an IP for wired interface... and no connection.
I don't know what to do anymore. I looked into Network and NM Wiki sessions, but din't find a solution
This old notebook is a Presario C500.
* The wireless interface seens to work under B43 driver & NM; it is probing. But, yet, I not had a chance to test.
Can someone advise me?
Thanks!
Last edited by Boechat (2013-06-14 23:28:26)
Offline
It might be possible that dhclient times out while waiting for an IPv6 IP that will never arrive. Disabling IPv6 should help. What does the journal say?
Offline
Thank you for your reply!
Your tip was perfect.
I have disabled IPV6, changing to "ignore". But still the problem continued. Then I put a fixed IP and got the connection to continue the fight.
Similarly, the problem occurred from the wired interface to the WLAN. So I use examples with wlan.
I ran the command:
systemctl status dhcpcd
I received the following feedback with IPV6 yet enabled:
systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
Active: active (running) since Sex 2013-06-14 07:20:32 BRT; 9min ago
Process: 167 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 178 (dhcpcd)
CGroup: name=systemd:/system/dhcpcd.service
└─178 /sbin/dhcpcd -q -b
Jun 14 07:25:14 rubenArch dhcpcd[178]: wlan0: checking for 192.168.1.4
Jun 14 07:25:18 rubenArch dhcpcd[178]: wlan0: sending IPv6 Router Solicitation
Jun 14 07:25:18 rubenArch dhcpcd[178]: wlan0: sendmsg: Cannot assign requested address
Jun 14 07:25:19 rubenArch dhcpcd[178]: wlan0: leased 192.168.1.4 for 86400 seconds
Jun 14 07:25:22 rubenArch dhcpcd[178]: wlan0: sending IPv6 Router Solicitation
Jun 14 07:25:22 rubenArch dhcpcd[178]: wlan0: sendmsg: Cannot assign requested address
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: sending IPv6 Router Solicitation
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: sendmsg: Cannot assign requested address
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: no IPv6 Routers available
Jun 14 07:25:34 rubenArch dhcpcd[178]: wlan0: carrier lost
With IPV6 disabled...
systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
Active: active (running) since Sex 2013-06-14 07:20:32 BRT; 10min ago
Process: 167 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 178 (dhcpcd)
CGroup: name=systemd:/system/dhcpcd.service
└─178 /sbin/dhcpcd -q -b
Jun 14 07:25:22 rubenArch dhcpcd[178]: wlan0: sending IPv6 Router Solicitation
Jun 14 07:25:22 rubenArch dhcpcd[178]: wlan0: sendmsg: Cannot assign requested address
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: sending IPv6 Router Solicitation
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: sendmsg: Cannot assign requested address
Jun 14 07:25:26 rubenArch dhcpcd[178]: wlan0: no IPv6 Routers available
Jun 14 07:25:34 rubenArch dhcpcd[178]: wlan0: carrier lost
Jun 14 07:30:52 rubenArch dhcpcd[178]: wlan0: carrier acquired
Jun 14 07:30:52 rubenArch dhcpcd[178]: wlan0: carrier lost
Jun 14 07:30:52 rubenArch dhcpcd[178]: wlan0: waiting for carrier
Jun 14 07:30:52 rubenArch dhcpcd[178]: control command: /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlan0
Now the question is: Is there a way to prevent the IPV6 stop running for IP in DHCP?
Offline
Are you sure your wireless interface is wlan0?
iwconfig
You could ty disabling ipv6 from the kernel. When booting pass `ipv6.disable=1` on the kernel line.
Offline
Thank you for our reply.
iwconfig returns: command not found
But, ip link:
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
link/ether 00:16:d4:b9:e9:03 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
link/ether 00:1a:73:18:1a:e7 brd ff:ff:ff:ff:ff:ff
I'm thinking, yes. Wlan0 is my wireless interface. Or I am wrong?
I added ipv6.disable=1 on grub kernel line. It is correct?
linux /boot/vmlinuz-linux root=UUID=0e737a2a-437d-4c80-bc0c-fdcc44f2bc53 ipv6.disable=1 ro quiet
Now I'm getting the following return from DHCP:
systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
Active: active (running) since Sex 2013-06-14 11:59:10 BRT; 4min 25s ago
Process: 168 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 178 (dhcpcd)
CGroup: name=systemd:/system/dhcpcd.service
└─178 /sbin/dhcpcd -q -b
Jun 14 11:59:36 rubenArch dhcpcd[178]: wlan0: carrier acquired
Jun 14 11:59:36 rubenArch dhcpcd[178]: wlan0: configured as a router, not a host
Jun 14 11:59:36 rubenArch dhcpcd[178]: wlan0: carrier lost
Jun 14 11:59:37 rubenArch dhcpcd[178]: wlan0: waiting for carrier
Jun 14 11:59:37 rubenArch dhcpcd[178]: control command: /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlan0
Jun 14 11:59:41 rubenArch dhcpcd[178]: wlan0: carrier acquired
Jun 14 11:59:41 rubenArch dhcpcd[178]: wlan0: configured as a router, not a host
Jun 14 11:59:41 rubenArch dhcpcd[178]: wlan0: carrier lost
Jun 14 11:59:42 rubenArch dhcpcd[178]: wlan0: waiting for carrier
Jun 14 11:59:42 rubenArch dhcpcd[178]: control command: /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlan0
I'm quite lost here...
Offline
wlan0 is your interface, I just wanted to be sure. It's not using ipv6 anymore at all, so theres something else going on besides waiting for ivp6.
Did you have any other networking services at all? When I used to use network manager it never worked if anything else like wicd or netcfg were enabled. Even having dhcpcd interfered with my network manager.
I did,
systemctl stop dhcpcd
systemctl start NetworkManager
Offline
Thanks Kopkins!
It worked perfectly!
So to make permanent I ran the following command:
systemctl disable dhcpcd.service
I rebooted the machine and was perfect.
Was the whole of the explained here that solved the problem. I had already tested it before, but without disabling IPV6.
I would ask why it did not work before, but I realized by myself.
Cookies, thank you also.
Offline