You are not logged in.

#1 2007-05-06 02:56:19

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Couldn't configure the network to work

Hi,I am new here. After install I configure the network as the wiki say. But it couldn't work. My network is LAN.Here is my rc.conf:

lo="lo 127.0.0.1"
eth0="eth0 146.118.151.8 netmask 255.255.255.0 broadcast 146.118.151.255"
INTERFACES=(lo eth0)
gateway="default gw 146.118.151.1"
ROUTES=(gateway)

here is the ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:13:D4:D4:FB:F1 
          inet addr:146.118.151.8  Bcast:146.118.151.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4984 (4.8 Kb)  TX bytes:3686 (3.5 Kb)
          Interrupt:22 Base address:0x6c00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:840 (840.0 b)  TX bytes:840 (840.0 b)


I couldn't ping any host except myself:

PING 146.118.151.1 (146.118.151.1) 56(84) bytes of data.
From 146.118.151.1 icmp_seq=1 Packet filtered

--- 146.118.151.1 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 2998ms

PING 10.74.52.8 (10.74.52.8) 56(84) bytes of data.
From 146.118.151.1 icmp_seq=1 Packet filtered

--- 10.74.52.8 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3011ms
, pipe 2

10.74.52.8 is an internal address

The external of course couldn't ping

Help, thanks

Offline

#2 2007-05-06 04:11:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Couldn't configure the network to work

Make sure you didn't make a typo error in the entries.

Also, verify that resolv.conf has your nameserver(s) IP listed..the DNS

EDIT:See the following in this forum also...
http://bbs.archlinux.org/viewtopic.php?id=32648

Last edited by lilsirecho (2007-05-06 04:27:40)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2007-05-06 04:15:42

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Re: Couldn't configure the network to work

Thx,I will check it carefully
my resolv.conf :
nameserver 202.106.196.115
nameserver 202.106.0.20
search baidu.com

but I even cann't  ping the host in the our LAN

Offline

#4 2007-05-06 05:14:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Couldn't configure the network to work

In my system, the IP for my computer is in the same arena as the DNS servers...yours is different..do you have a router?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2007-05-06 05:36:17

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Re: Couldn't configure the network to work

I donn't have a router, I used the scholl LAN, it seems that we connect to a switching exchange

Offline

#6 2007-05-06 19:11:01

IceHand
Member
From: Germany
Registered: 2007-05-06
Posts: 53
Website

Re: Couldn't configure the network to work

Did you try DHCP IP?

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway)

Offline

#7 2007-05-06 20:11:43

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Couldn't configure the network to work

PING 146.118.151.1 (146.118.151.1) 56(84) bytes of data.
From 146.118.151.1 icmp_seq=1 Packet filtered

You've got some firewall running on your linux-box? Try disabling that and see if you get a connection...


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#8 2007-05-07 03:39:01

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Re: Couldn't configure the network to work

IceHand wrote:

Did you try DHCP IP?

I donn't use DHCP

Offline

#9 2007-05-07 03:41:03

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Re: Couldn't configure the network to work

klixon wrote:

PING 146.118.151.1 (146.118.151.1) 56(84) bytes of data.
From 146.118.151.1 icmp_seq=1 Packet filtered

You've got some firewall running on your linux-box? Try disabling that and see if you get a connection...

I can ping it in win and ubuntu,did arch install firewall acquiesce?

Offline

#10 2007-05-07 06:52:12

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Couldn't configure the network to work

garfeildma wrote:

I can ping it in win and ubuntu,did arch install firewall acquiesce?

Check what this says:

# pacman -Q | grep iptables

If you get a response, the userspace-tools for the kernel packet-filter system are installed (firewall, router etc.).
If you have no need for them, just

# pacman -R iptables

And see if you can ping

I've not used iptables, so I can't help you configure it if you want to use it, but I'm sure there plenty of howto's on the web wink


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#11 2007-05-07 11:35:49

garfeildma
Member
Registered: 2007-05-01
Posts: 12

Re: Couldn't configure the network to work

I didn't find iptables by pacman -Q.
I am going crazy now.
I can get some web use w3m in our school but some cann't.
We use "drcom" to connect to Internet.I cann't ping but I can login.When i login I cann't open any web page.
When I pacman -Sy it says:
read:Connection on reset by peer
Control socket read faild:Illegal seek

Offline

Board footer

Powered by FluxBB