Click to See Complete Forum and Search --> : IP address question
Huggy
12-04-2001, 09:02 PM
ok simple question all..
I'm on dail-up and I need to find out what I have using the command line.
I have been trying connect to my school to download some files on my unix account and it will not let me for some strang reason.
So was going to telnet in and then connect to myself but I need to know my ip address.
This idea should work right?
Slackn00b
12-04-2001, 10:42 PM
Not sure if you can telnet in through a dial up connection, but the command you want is "ifconfig", you may need to be root to use that. You should be able to add the device you want to that too, like "ifconfig ppp0" for the NIC that connects to my DSL "modem"
wreckd
12-04-2001, 10:52 PM
Originally posted by Huggy:
<STRONG>ok simple question all..
I'm on dail-up and I need to find out what I have using the command line.
I have been trying connect to my school to download some files on my unix account and it will not let me for some strang reason.
So was going to telnet in and then connect to myself but I need to know my ip address.
This idea should work right?</STRONG>
i'll answer to the extent that i understand you. you can find you dialup ip address with ifconfig ....it's the "ppp" entry, most likely ppp0. i think this answers the "find out what i have" part...maybe.
what are you planning to telnet into and then connect to yourself? the school? isn't that the problem?
thought: try ssh. my school does not allow telnet access from outside the campus, only ssh.
good luck.
Dark Ninja
12-04-2001, 10:56 PM
"I'm on dail-up and I need to find out what I have using the command line."
...I don't understand that...
Yeah...if you have a server on your home computer, you should be able to log in and transfer files between computers...although, I definitely don't recommend telnet for this. Try FTP or SSH.
Dark Ninja
Huggy
12-05-2001, 01:00 AM
see if I can clean this up
Problem:
I need to know what IP address is assigned to my unix box when I dail in.
Reason:
I need files from me school account.
Why not FTP to my school?
Because it don't seem to work.
What am I tying to do.
I'm going to telnet to my account using ssh FROM HOME then I'm going to ftp files TO MY UNIX BOX. I need the IP address to connect to my own computer.
little better :)
paulb
12-05-2001, 12:39 PM
To find out what your ip adress is goto This page (http://www.whatismyip.com)
m3rlin
12-07-2001, 09:27 PM
But in ppp doesn't the ipaddress change every time you hangoff, here in portugal, you connect via dial and you have for example 194.68.125.45 but if you disconnect and redial again you ip address will change to something like 194.68.145.63.
But if you are planing to connect and leave the pc connected to the internet, to find you ip address, just type as root "ifconfig"
it will show ppp0 address.
If you are not sure if you school have telnet or ssh open, try to do a scan to show the open ports (Some ppl think this is not legal), im not trying to estimulate hacking, just giving to you an option.
Or you can ask to the school system administrator :)
Huggy
12-08-2001, 12:20 PM
I think thats all I'm looking for
the ifconfig thing :)
thanks all :D