Linux help

Mr noodle

Active Member
Joined
Nov 12, 2008
Messages
53
Reaction score
0
hi

I have an ADLS router, now i want to be able to connect to that router to set it up, however when i plug my laptop in it wont assign me an ip..

i tried putty but when logged in i dont know the command to type to see what ip is the ADSL router// Modem

how do i do it, we running linux // unix

please help
 
Have you configured your network card to receive a DHCP address?

Which Linux are you using (Redhat, Suse, Ubuntu, Gentoo, etc.)?
 
as root ...

Code:
dhclient
ifconfig

dhclient will request an IP and ifconfig will show you the current IP's of your interfaces.

Hope it helps.
 
as root ...

Code:
dhclient
ifconfig

dhclient will request an IP and ifconfig will show you the current IP's of your interfaces.

Hope it helps.

hey it tells me command not found
 
Why do you run an enterprise server on your laptop? Just asking, as OpenSuSE 10.x or 11 does the same job, and is free...

Open yast, go to network devices, click on network settings, check if your NIC have an entry in there.

If there's not an entry, you'll probably have to add your NIC first before you can proceed.

If your NIC's listed, click on Edit, and make sure that dynamic address (dhcp) is enabled.
 
Why do you run an enterprise server on your laptop? Just asking, as OpenSuSE 10.x or 11 does the same job, and is free...

Open yast, go to network devices, click on network settings, check if your NIC have an entry in there.

If there's not an entry, you'll probably have to add your NIC first before you can proceed.

If your NIC's listed, click on Edit, and make sure that dynamic address (dhcp) is enabled.

no we running it on a server and its only dos based, ADSL modem is working and set up already i just want to log in and get account details however if i putty to my server and log in as root i dont know the command if any ?? to check the ip of the ADSL ?? as modem is not giving me an address and im sure the previous techie did not enable DHCP on router
 
Why dont you just assign yourself an IP?
But the real answer:

Reboot, stick a windows disk in, install it, and plug and play...
:D

*puts on flame retardent suit*
 
Have you tried 'nmap' ?

nmap - Network exploration tool and security / port scanner
Code:
nmap 192.168.0.1/24

Starting Nmap 4.62 ( http://nmap.org ) at 2008-11-17 17:52 SAST
Interesting ports on 192.168.0.1:
Not shown: 1714 closed ports
PORT   STATE SERVICE
80/tcp open  http
MAC Address: ~:~:~:~:~:~ (Netgear)

<snip>
 
Last edited:
just out of interest, if you wanted to get the IP address of the ADSL modem from the linux server (and you have logged in to the linux server) then usually you can just do netstat -rn and get the default gateway, which should be the ADSL modem (assuming you can ping the outside world) unless i am not understanding the question, in which case just ignore this.
 
Top
Sign up to the MyBroadband newsletter
X