You are not logged in.

#1 2012-03-26 15:31:49

rasr11
Member
Registered: 2012-03-26
Posts: 39

[Solved]Can't set my dsl broadband connection working in archlinux.

Hi all,

This is my first time installation of Archlinux. I've installed the "base"  packages without any problem.
Now I want my internet connection to work properly. So I first ran the "pppoe-setup" and then dial the connection by "pppoe-start" which says I'm connected. when I execute pppoe-status I can see a valid ip is assigned to my by my ISP.
But when I try to do anything which needs this connection, does not work. I tried to ping google by "ping -c 3 www.google.com" which says "unknown host".
I have no idea what has gone wrong. Please help.

Last edited by rasr11 (2012-03-27 15:45:35)

Offline

#2 2012-03-26 18:11:43

Terra-byte
Member
Registered: 2012-03-25
Posts: 11

Re: [Solved]Can't set my dsl broadband connection working in archlinux.

Did you enter your DNS settings correctly? Try pinging an IP address directly.

ping 8.8.8.8

Offline

#3 2012-03-26 23:59:11

rasr11
Member
Registered: 2012-03-26
Posts: 39

Re: [Solved]Can't set my dsl broadband connection working in archlinux.

Thank you Terra-byte for you reply.
When I ping 8.8.8.8, it shows "destination net unreachable".

In /etc/rc.conf I changed my "HOSTNAME=archie"
interface=eth0
address=
netmask=broadcast=
gateway=

& my /etc/hosts looks like:-
127.0.0.1         loca;host.localdomain                localhost archie

My broadband is a dynamic ip. so my ISP allocates my new ip & DNS server name automatically.
I don't know what to do next

Offline

#4 2012-03-27 12:52:22

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [Solved]Can't set my dsl broadband connection working in archlinux.

rasr11 wrote:

& my /etc/hosts looks like:-
127.0.0.1         loca;host.localdomain                localhost archie

probably a typo, but it should be localhost.localdomain .

check your /etc/resolv.conf , it should look something like this :

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain fritz.box
nameserver 192.168.178.1
# /etc/resolv.conf.tail can replace this line

try pinging the address shown behind nameserver .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2012-03-27 15:43:18

rasr11
Member
Registered: 2012-03-26
Posts: 39

Re: [Solved]Can't set my dsl broadband connection working in archlinux.

Thank you Lone_wolf
changing the resolv.conf did the trick

Offline

Board footer

Powered by FluxBB