You are not logged in.

#1 2007-05-21 13:10:05

arinbasu
Member
Registered: 2007-05-21
Posts: 6

Cannot connect to the net after installation

Hi All:

I tried to install and work with Archlinux today but was not successful at all.

I downloaded the ISO image of archlinux and burnt it to a CD (Archlinux-i686-2007.05-Duke). I tried to install the distro to my Compaq presario 700AP laptop (AMD Duron/128 MB RAM) Installation went smoothly and then the problems began. I coud not get networking to work. Here are the contents of the /etc/rc.conf file (networking section only given here):

<--- contents of /etc/rc.conf ------------->

lo="lo 127.0.0.1"
eth0="eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway) ......................."I removed the ! sign to activate the gateway"

<-------/contents ------>

<--------- contents of /etc/resolv.conf ------------>

and in the /etc/resolv.conf, I have

nameserver 208.67.222.222
nameserver 208.67.220.220
search opendns.com

I typed opendns.com since I have these dns addresses from opendns.
<-------------

When I ping my nameserver (208.67.222.222), it puts out several lines of messages like:

64 bytes from 208.67.222.222: icmp_seq=55 ttl=252 time=284 ms
...
...

Likewise, when I ping default gateway, I get several lines of messages like:

64 bytes from 192.168.1.1: icmp_seq=1 ttl=128 time=1.62 ms
...
...
...

Yet I cannot ping google (http://www.google.com), and the error message is: "unknown host", nor can I use pacman to update packages from online repositories.

What am I doing wrong? I have followed the networking guidelines and installation guidelines from the websites.

Do I reinstall archlinux? I am lost.

Best wishes,
/Arin

Offline

#2 2007-05-21 14:10:41

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Cannot connect to the net after installation

Try using your gateway as second dns server, just as a backup...


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#3 2007-05-22 01:30:49

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: Cannot connect to the net after installation

Try typing 64.233.161.104 in the address bar of your browser and see if Google.com comes up.  64.233.161.104 is the IP address of Google.com.  If Google.com comes up with the Actual IP address typed in, then all your networking elements are working properly.

If it still won't come up when "www.google.com" is typed in then you have a DNS problem, it is not resolving the www.google.com to the actual IP address.   Most likely you are not connecting to your DNS server.

I just use the IP address of my router, 192.168.0.1, as my DNS server, and the router/cable modem know where the DNS server for my ISP is located. 

My /etc/resolv.conf is as follows

#
# /etc/resolv.conf
#

search hsd1.co.comcast.net 
nameserver 192.168.0.1

# End of file

Hope that helps.

Pudge

Last edited by Pudge (2007-05-22 01:32:21)

Offline

#4 2007-05-23 01:21:35

arinbasu
Member
Registered: 2007-05-21
Posts: 6

Re: Cannot connect to the net after installation

Thanks for the advice, but I still am not successful and I cannot figure out why.
Dear All:

Thanks for all your responses, but I still cannot connect to the Internet and this is a strange problem.

I use a broadband connection, provided by India's BSNL broadband service, using an external modem (Huawei Corporation; SmartAx MT882). The internet service has provided me the following information:

IP Address: 192.168.1.10
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
DNS servers: 218.248.255.145
DNS server(2): 61.1.96.71

In addition, I use opendns and the dns server names are:

208.67.222.222
208.67.220.220

Here are the contents of my /etc/rc.conf (networking section):

HOSTNAME="maurine"
Io="Io 127.0.0.1"
eth0="eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(Io eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

-----------------------

Contents of my /etc/resolv.conf

search maurine.com
nameserver 218.248.255.145
nameserver 61.1.96.71
nameserver 208.67.222.222
nameserver 208.67.220.220

-----------------------

If I try using pppoe -I eth0, it waits for some time and then returns a message "timeout waiting for PADO packets"

If I "try /etc/rc.d/adsl start", it returns [FAIL] after some time.

This has never been a problem with my ubuntu or windows installations before, I could easily connect to the web.

What should I do to make sure I can connect to the Internet?
When I ping 192.168.1.1, it takes me to my modem page and from there, when I run the diagnostics, it returns everything ok.

Where may be the problem and what do I need to do to resolve this problem?

Thanks in advance,

Arin Basu

Offline

#5 2007-05-23 15:22:03

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Cannot connect to the net after installation

HOSTNAME="maurine"
Io="Io 127.0.0.1"
eth0="eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(Io eth0)

Why does it say Io instead of lo?

And also, you never told us about this adsl modem. Wouldn't that be ppp0?
Does it get initialized correctly by the kernel? Are you sure you aren't supposed to supply it a firmware file? (binary blobs are _not_ in the kernel by default)


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#6 2007-05-23 15:58:22

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: Cannot connect to the net after installation

I had the similar problem. Try typing route del default before pppoe-start command wink.

Offline

#7 2007-05-23 23:10:40

arinbasu
Member
Registered: 2007-05-21
Posts: 6

Re: Cannot connect to the net after installation

Thank you folks your kind responses and advices. It finally worked and I am now online. I greatly appreciate it.

I am really impressed by Archlinux and the community.

Best,

/Arin Basu

Offline

Board footer

Powered by FluxBB