You are not logged in.

#1 2011-08-19 14:31:05

Nomywar
Member
Registered: 2011-08-18
Posts: 6

network configuration problem

Hi there,

First of all, sorry for my english, is not my native language. I hope you understand my problem.

I'm a newbie user of archlinux, and i have problems trying to configure the network.

I'll install the archlinux with net install, and the setup program recognize my network perfectly. I install it and proceed to reboot the system after it's installed. OK no problem on that.

On the first reboot all works correctly, i began to update the system with pacman and then on the nexts reboot the network fails.

I put the network then at IP static withing the rc.conf and the resolv.conf, but it didn't work.

Here i put you both files.

rc.conf

#NETWORKING
HOSTNAME="arch-linux"
interface=eth0
address=192.168.1.120
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1

NETWORK_PERSIST="no"

resolv.con

nameserver 192.168.1.1
nameserver 8.8.8.8

Hope you can help me.

Thanks,

Last edited by Nomywar (2011-08-19 14:31:58)

Offline

#2 2011-08-19 14:44:11

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Hi,

Could you be more explicit about your exact problem? "It did'nt work" is, at least, inaccurate...

What gives

ip addr
ip route
ping 192.168.1.1
ping 8.8.8.8

Offline

#3 2011-08-19 14:52:40

Nomywar
Member
Registered: 2011-08-18
Posts: 6

Re: network configuration problem

Sorry for my lack of description of the problem.

That's the output for that commands

ip addr

1: lo
2: eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether f4:6d:03:7b:10:b3 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.120/24 brd 192.168.1.255 scope global eth0

ip route

default via 192.168.1.1 dev eth0
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.120

ping 192.168.1.1

from 192.168.1.120 icmp_seq=X Destination Host Unreachable

ping 8.8.8.8

from 192.168.1.120 icmp_seq=X Destination Host Unreachable

Offline

#4 2011-08-19 15:13:12

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Curious...

You just got "lo" the first line of ip addr output?

Mine is:

[Iggy ~]% ip addr ls lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

Offline

#5 2011-08-19 15:17:40

Nomywar
Member
Registered: 2011-08-18
Posts: 6

Re: network configuration problem

sorry i skip all the line cause i think its not important

Here it's complete info

1: lo: <LOOPBACK, UP, LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether f4:6d:03:7b:10:b3 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.120/24 brd 192.168.1.255 scope global eth0

Offline

#6 2011-08-19 15:23:38

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Ok.

I suppose you haven't play with iptables or another firewall...

Have you tried with DHCP ? Are you sure 192.168.1.1 is working properly?  what is it ? a FAI box, a router linked to a DSL modem, another Linux machine ?

Offline

#7 2011-08-19 15:29:48

Nomywar
Member
Registered: 2011-08-18
Posts: 6

Re: network configuration problem

It's a router, I have my laptop connected to it via Windows Vista and the configuration of the network is almost the same.

I've tried also with dhcp turning off all the features of rc.conf and leaving only the interface = eth0, to looking for the dhcp but it still does the same.

Also the same computer, with the win7 partition is working perfectly. And with an ubuntu life also network is working so i suppose that's not a problem wit the router or the HW

Edit: I don't know if its intesting that when i boot in arch and try to establish connection to the router, the router stacks if i reboot my computer with the other SO theres a limited connection. When I reboot the router all is ok in the other SO.
Always have this problem when I first boot with arch, on the other hand I continously boot with other SO it works all fine.

I don't understand what is doing my router or my network with arch sad

Last edited by Nomywar (2011-08-20 08:42:16)

Offline

#8 2011-08-20 15:52:11

tom.yan
Member
From: Hong Kong
Registered: 2011-04-29
Posts: 27

Re: network configuration problem

what do you mean by your router stacks? and how was the lan led? blinking (fast/slowly?) or static (or even off)? and what do you mean by limited connection? connected to the router but no internet connection?

Last edited by tom.yan (2011-08-20 15:53:09)

Offline

#9 2011-08-20 16:39:22

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Nomywar wrote:

It's a router,

What kind of router ?

Last edited by jaco (2011-08-20 16:42:43)

Offline

#10 2011-08-20 17:53:35

Nomywar
Member
Registered: 2011-08-18
Posts: 6

Re: network configuration problem

jaco wrote:

What kind of router ?

The router is Comtrend VR-3025un, the one who comes with my ADSL operator.

tom.yan wrote:

what do you mean by your router stacks? and how was the lan led? blinking (fast/slowly?) or static (or even off)? and what do you mean by limited connection? connected to the router but no internet connection?

Ok, I try to explain it better, I have 2 computers connected to the router via ethernet connection. One with Windows and the other with archlinux.  If I start archlinux first and the the other computer none of them has connection to the router. On the other way if I start first win and the archlinux then win has connection but archlinux still not having it.
So if I reboot win, then it doesn't have connection till I reboot the router.
Could be posible arch done something to the router? I don't know if i turning myself crazy about that things and i imagine this kind of things.

The lights are static most of the time and blink from time to time.

From limited connection is connected to the router yes but not to inet.

Offline

#11 2011-08-20 18:09:50

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Nomywar wrote:
jaco wrote:

What kind of router ?

The router is Comtrend VR-3025un, the one who comes with my ADSL operator

If this router may be configured as a Wifi Access Point, have you tried to connect your Arch box via Wifi ?

BTW: what is the brand and model of your Ethernet card ?

Offline

#12 2011-08-20 21:05:56

Nomywar
Member
Registered: 2011-08-18
Posts: 6

Re: network configuration problem

jaco wrote:

Nomywar wrote:

    jaco wrote:

        What kind of router ?

    The router is Comtrend VR-3025un, the one who comes with my ADSL operator

If this router may be configured as a Wifi Access Point, have you tried to connect your Arch box via Wifi ?

BTW: what is the brand and model of your Ethernet card ?

I can't connect the Arch via wifi because I don't have a wifi stick.

The Ethernet card is:
- from lspci
Ethernet controller: Realtek Semiconductor Co., Ltd RTL8111/8168B PCI Express Gigabit Ethernet Controller (rev 06)

- from dmesg
r8169 0000:04:00.0: eth0: RTL 8168b/8111b

I want to add more strange succes, I boot with the win partition of the PC and inet works fine, the i reboot and start with arch, and inet goes well. Then I reboot with arch and inet goes off for any OS system till i restart the router. Weird thing.. Any ideas?

Offline

#13 2011-08-20 21:59:26

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: network configuration problem

Nomywar wrote:

I want to add more strange succes, I boot with the win partition of the PC and inet works fine, the i reboot and start with arch, and inet goes well. Then I reboot with arch and inet goes off for any OS system till i restart the router. Weird thing.. Any ideas?

Unfortunately, i don't speak nor read spanish... so i can't google on any problem related to this router with arch.

Check the cable between your arch and the router... i doesn't hurt (swap it with another cable).

If you can, try to connect your arch to a friend's router, or borrow a wifi card, or try with another ethernet card, just for tests...

Last edited by jaco (2011-08-20 22:03:50)

Offline

Board footer

Powered by FluxBB