You are not logged in.

#1 2010-07-01 14:52:36

vincent
Member
Registered: 2009-04-18
Posts: 17

time out problem when starting the network

i have 2 computer, all of this 2 computer install ARCH, i use ADSL for network connection, and my notebook work well, but the other one doesn't, i do the setup step exactly the same, but come out as a time out problem, how can i figure out what is going wrong??:(

Offline

#2 2010-07-01 15:06:42

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: time out problem when starting the network

Some more detail would really help us, help you. What is your setup? Are both machine getting a IP? if so are they pingable from each other? Are they on the same / different subnets?

Things like that big_smile


:: Github :: My AUR :: Coreboot ::

Offline

#3 2010-07-01 15:20:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: time out problem when starting the network

* are sure your "bad" configs are the same as the working ones? Check /etc/rc.conf, /etc/group, /etc/resolv.conf etc.
* run 'sudo mii-tool -vv'
* increase timeout of dhcpcd or wahtever you're using
* are you using wired or wireless connection? If it's wifi, maybe you're filtering MAC addresses and forgot to add one to your 'allow list' on your router.

Offline

#4 2010-07-03 04:04:47

vincent
Member
Registered: 2009-04-18
Posts: 17

Re: time out problem when starting the network

i am using wired connection,
when finish installing arch, i use 'pppoe-setup' command to setup my intenet connection. just like the good one, and according to the step of pppoe-setup, i input my usename:xxx@xxx.xx, password, DNS:server,fireware:0,after setting up, i try pppoe-start try to start the connection, but time out.
i have already check rc.conf, group and resole.conf file, the network part of rc.conf and group are the same as the good one, but the bad one's resolv.conf is empty, and the good one have some nameserver setting, i try to input the same setting into the bad one, but it still doesn't work

Offline

#5 2010-07-03 04:32:41

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: time out problem when starting the network

So,
You have one ADSL account.
You do not use an ADSL modem. Instead you use an ADSL modem internal to your computers.

You are sure the non-working computer has an ADSL Digital modem and not just a Dial-up Analog modem

#####

On the non-working computer, do you get an IP address?

If so, check the route too....

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.3   192.168.1.1     255.255.255.255   UGH   0      0        0 wlan0
default         192.168.1.1     0.0.0.0         UG    304    0        0 wlan0

If you have somthing like the first line in there but no default gateway, you can set it like this...

$ sudo route add default gw 192.168.1.1
...Or what ever the default gw IP is...

Also, check the /etc/resolv.conf file and if it is empty put this in there.

nameserver 8.8.8.8
nameserver 8.8.4.4

If you are NOT getting and IP address.
Is the first computer already connected and on-line when you try to set-up the second one?
If so, try to disconnect the first computer and then wait 5mins and try to connect with the second computer.

If this works then you can ether setup Internet Connection Sharing on the first computer to supply Internet connection to the second computer. Or, get an ADSL modem and router.

#######
If you would like to know how to setup Internet Connection Sharing. Just ask.

Also, if non of this works. Then post all the commands you are using to connect to the ADSL. BUT don't post the real IP or password/username. tongue

Last edited by hunterthomson (2010-07-03 05:13:42)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#6 2010-07-04 06:21:40

vincent
Member
Registered: 2009-04-18
Posts: 17

Re: time out problem when starting the network

hunterthomson wrote:

You have one ADSL account.
You do not use an ADSL modem. Instead you use an ADSL modem internal to your computers.

You are sure the non-working computer has an ADSL Digital modem and not just a Dial-up Analog modem

I don'nt think i understand what's this mean?
i do have a ADSL account, and in the progress of setting up my connection, i never input any IP address,the first one was setup successfully 1 year ago, now i try to set up the second one, so i do follow the same step of the first one, use the following command:
$pppoe-setup
$usename: xxx@xxx.xx
$connection by need: no
$DNS : server
$password: xxxxxxx
$firewall: 0
I didn't set any IP address neither the working one or the not working one, and when trying 'pppoe-start' to start the connection, there is only one computer power on, and it turn out to be a time out error, so i try the other one, it work totally.

Offline

#7 2010-07-05 00:13:53

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: time out problem when starting the network

Well, I don't know a whole lot about connecting to ADSL directly. So, there vary well could be other settings to try that I don't know. However, the things that I would check are these.

Are you connecting to the ADSL through a Phone line RJ11 jack or is it an Ethernet RJ45 jack. If it is a Phone Line RJ11 I'd double check the spec's of the computer and make sure that the modem is a Digital Modem. I know my last laptop only had an Analog Modem and there for incapable of connecting to ADSL.

Second, I'd try to boot from Ubuntu cd or even Windows. Then try to connect to the ADSL. If it works then it is just a software or configuration problem in Archlinux. If it dose not then the computer hardware is broken or incapable of connecting to ADSL.

Last edited by hunterthomson (2010-07-05 00:23:15)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#8 2010-07-05 12:46:44

vincent
Member
Registered: 2009-04-18
Posts: 17

Re: time out problem when starting the network

-_-! i am sorry
1.how can i tell which kind i am using Phone line RJ11 jack or Ethernet RJ45 jack?
2.how can i tell which kind of Moderm i am using..Digital Modern or Analog Moderm?
3.i have a windows in my computer, and it can connected to the internet

Offline

#9 2010-07-06 00:31:23

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: time out problem when starting the network

Right on, if it works in Windows then it is in fact a configuration problem or maybe a Linux driver problem.  Unfortunately I don't know enough about it to help you. I'll keep looking for a solution and post if I think I found something.

I guess you could also try to use pppd to connect. Maybe this other utility will work where the rp-pppoe failed.
http://wiki.archlinux.org/index.php/PPP … _with_pppd

#####
Owe, and an RJ45 connector has 8 pins  but a RJ11 has 4 pins
But no need to worry about that now that we know the hardware dose work.

Last edited by hunterthomson (2010-07-06 00:32:02)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#10 2010-07-08 13:16:03

vincent
Member
Registered: 2009-04-18
Posts: 17

Re: time out problem when starting the network

ok, thanks a lot 2

Offline

#11 2010-07-08 14:05:17

vincent
Member
Registered: 2009-04-18
Posts: 17

Re: time out problem when starting the network

hunterthomson wrote:

Right on, if it works in Windows then it is in fact a configuration problem or maybe a Linux driver problem.  Unfortunately I don't know enough about it to help you. I'll keep looking for a solution and post if I think I found something.

I guess you could also try to use pppd to connect. Maybe this other utility will work where the rp-pppoe failed.
http://wiki.archlinux.org/index.php/PPP … _with_pppd

#####
Owe, and an RJ45 connector has 8 pins  but a RJ11 has 4 pins
But no need to worry about that now that we know the hardware dose work.

1.according to the website you give me, when i input the zgrep command, nothing show up, is that a problem?
$ zgrep CONFIG_PPPOE /proc/config.gz
CONFIG_PPPOE=m
2.my working computer is a core dual cpu, but the not working one use the amd x630 cpu, could that lead to this problem?

Offline

Board footer

Powered by FluxBB