LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   adsl-setup : what else to configure? (https://www.linuxquestions.org/questions/linux-networking-3/adsl-setup-what-else-to-configure-332389/)

xgreen 06-10-2005 11:51 PM

adsl-setup : what else to configure?
 
i need to configure adsl on CRUX (newly installed) but always time out. i ran adsl-setup just the same as i ran it on slackware (working fine). is there any configuration/setup that i missed?

runlevel0 06-11-2005 04:47 AM

Could you tell what you did?
What does 'time out' mean?

If you are talking about connections timing out check your network settings, you will probably have to change the netmask or the broadcast address.

xgreen 06-13-2005 09:06 AM

here is my step configuring adsl . those in <xx> are my input

bash-3.00# adsl-setup
>>> Enter your PPPoE user name : <enter myusername>

>>> Enter the Ethernet interface connected to the ADSL modem
(default eth0): <eth0>

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.) <no>

NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no): <no>

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are^M
doing and not modify your DNS setup.
>>> Enter the DNS information here: <server>

>>> Please enter your PPPoE password: <mypassword>
>>> Please re-enter your PPPoE password: <mypassword>

FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
>>> Choose a type of firewall (0-2): 1

my lsmod output

bash-3.00# lsmod
Module Size Used by
ppp_generic 20628 0
slhc 6656 1 ppp_generic


my ifconfig output

bash-3.00# ifconfig
eth0 Link encap:Ethernet HWaddr 00:06:4F:12:1C:16
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6261 (6.1 Kb) TX bytes:8443 (8.2 Kb)
Interrupt:5 Base address:0xc800

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

adsl-start output

bash-3.00# adsl-start
................TIMED OUT




naazmin

xgreen 06-13-2005 09:12 AM

hmmm... i guess my ppp0 does not exsist in ifconfig output....

michaelk 06-13-2005 11:01 AM

Try this:
ifdown eth0
adsl-start

You can not establish an ADSL connection if eth0 is already configured for an IP.


All times are GMT -5. The time now is 09:20 PM.