You are not logged in.
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
Offline
* 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
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
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 wlan0If 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.4If 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. ![]()
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
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
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
-_-! 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
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
ok, thanks a lot 2
Offline
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