Author Topic: installed wicd, it connects to router but cannot reach www [SOLVED]  (Read 1263 times)

0 Members and 1 Guest are viewing this topic.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Hello,
because NetworkManager seemed unrelieble on my fresh Xfce 16.03 OpenRC install I decided to switch to wicd.
I followed the steps described here: https://forum.manjaro.org/index.php?topic=18568.msg172447
I was able to make my Asus Eeepc 1001HA connect to the WiFi router, but I cannot connect to the www, be it running pacman-mirrors -g or navigating in the browser.
I have no idea how to troubleshoot this, the network connection still being more or less a blackbox to me.
The network specs from a different distro on the netbook:
Code: [Select]
Network:   Card-1: Qualcomm Atheros AR8132 Fast Ethernet
           driver: atl1c v: 1.0.1.1-NAPI port: ec00
           bus-ID: 01:00.0 chip-ID: 1969:1062
           IF: eth0 state: down mac: <filter>
           Card-2: Ralink RT3090 Wireless 802.11n 1T/1R PCIe
           driver: rt2800pci v: 2.3.0 bus-ID: 02:00.0 chip-ID: 1814:3090
           IF: wlan0 state: down mac: <filter>
« Last Edit: 07. May 2016, 16:01:19 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #1 on: 06. May 2016, 19:54:33 »
I also can connect with the ethernet cable to the router, but ping www.duckduckgo.com gives "system error". No connection to www with any means.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline glock172

  • Vollwertiges Mitglied
  • ***
  • Posts: 124
  • Branch: openrc, unstable
  • Desktop: MATE,Xfce
  • GPU Card: GT 210
  • GPU driver: free
  • Kernel: 4.4
  • Skill: Novice
Re: installed wicd, it connects to router but cannot reach www
« Reply #2 on: 06. May 2016, 21:01:05 »
You could try to switch between  dhcpcd and dhclient in Wicd>Preferences>External programs . I had the same problem with the early Manjaro Openrc releases (before the switch to NetworkManager). I wasn't able to access the router either, but changing the dhcp client solved the problem.
When you are connected to the router can you access it, do you get IP from the router?  You can also check what your /etc/resolv.conf contains.
« Last Edit: 06. May 2016, 21:03:01 by glock172 »
If it ain't broke, don't fix it

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #3 on: 06. May 2016, 21:11:38 »
Yup, /etc/resolv.conf is a broken link to /var/run/NetworkManager/resolv.conf
Will try to repair...
Thanks!!!
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #4 on: 06. May 2016, 21:25:34 »
Very nice, I looked in the folder where could be s.th. which contains s.th. with nameserver like in my working installs and found /var/run/dhcpcd/resolv.conf/wlp2s0.dhcp with wlp2s0 being my WiFi interface. So I ran
Code: [Select]
# mv /etc/resolv.conf /etc/resolv.conf.bak
# ln -s /var/run/dhcpcd/resolv.conf/wlp2s0.dhcp /etc/resolv.conf
And got ping connection and now writing from the netbook.
Thanks again, glock172!
PS: I was getting connection to the router, also IP address. So I left external program in wicd as "auto".
« Last Edit: 06. May 2016, 21:27:35 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #5 on: 06. May 2016, 22:12:33 »
Strange thing, on each reboot the resolv.conf get created as symlink to the NetworkManager folder. I created it as a file and set the permissions read-only. Will see how it works.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #6 on: 07. May 2016, 01:22:29 »
On each reboot I need to
Code: [Select]
# mkdir /run/NetworkManager
ln -s /var/run/dhcpcd/resolv.conf/wlp2s0.dhcp /var/run/NetworkManager/resolv.conf
I would be glad to find an automatic solution.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #7 on: 07. May 2016, 05:50:59 »
Hello,
because NetworkManager seemed unrelieble on my fresh Xfce 16.03 OpenRC install I decided to switch to wicd.
I followed the steps described here: https://forum.manjaro.org/index.php?topic=18568.msg172447
That was an old tutorial, the name of the service has changed to NetworkManager and is likely still running on your system and updating /etc/resolv.conf
Code: [Select]
rc-status can be used to view running services.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #8 on: 07. May 2016, 11:06:28 »
I mean I used the term NetworkManager in all my commands. I ran rc-status several times and found nothing suspicious. I also removed all the other services like autofs and fuse which I tried attempting to solve the Thunar problem in Openbox (which is solved by editing Thunar.desktop -> Exec=dbus-launch thunar). I will post the output when I get the netbook.
Nevertheless wicd seems much mire reliable to me, connects automatically rarely disconnects, compared to nm much better.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #9 on: 07. May 2016, 15:18:05 »
Code: [Select]
$ rc-status
Runlevel: default
 syslog-ng                                                                                   [  started  ]
 acpid                                                                                       [  started  ]
 cronie                                                                                      [  started  ]
 dbus                                                                                        [  started  ]
 wicd                                                                                        [  started  ]
 cupsd                                                                                       [  started  ]
 consolekit                                                                                  [  started  ]
 netmount                                                                                    [  started  ]
 xdm                                                                                         [  started  ]
 alsasound                                                                                   [  started  ]
 bluetooth                                                                                   [  started  ]
 cgmanager                                                                                   [  started  ]
 local                                                                                       [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 avahi-daemon                                                                                [  started  ]
 xdm-setup                                                                                   [  started  ]
And here are the installed packages which Pamac shows as installed when I enter the search term 'network'
crda
ethtool
glib-networking
inetutils
iputils
krb5
mobile-broadband-provider-info
nbd
ndiswrapper-utils
net-tools
netifrc
nfs-utils
nss
ntp
openvpn
ppp
syslog-ng
tcpdump
wget
wicd
wicd-gtk
wpa-supplicant
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: installed wicd, it connects to router but cannot reach www
« Reply #10 on: 07. May 2016, 15:49:22 »
Looks like I could solve it: I reinstalled wicd wicd-gtk and wicd-openrc AND I switched in wicd settings -> external programs -> DHCP program from dhcpcd to dhclient. I don't know what of these two made the difference, probably dhclient, but /etc/resolv.conf still point to NetworkManager, but it doesn't hinder me from accessing the internet.

Yo, that's it, setting DHCP program to dhcpcdme or automatic prevents me from getting ping. Setting dhcliend deconnecting and reconnecting gives me ping. Solved!
« Last Edit: 07. May 2016, 16:00:41 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline LizziAS

  • Vollwertiges Mitglied
  • ***
  • Posts: 134
  • Branch: Hyssop
  • Desktop: OB-OpenRC
  • GPU Card: 6520G
  • GPU driver: Catalyst
  • Kernel: Zen
  • Skill: Intermediate
You are rockin and rollin Eugen-b


 :P :P :P :P