View previous topic :: View next topic |
Author |
Message |
steelrose Apprentice
Joined: 06 May 2002 Posts: 245 Location: Cyprus
|
Posted: Mon Oct 14, 2002 8:35 am Post subject: dsl question |
|
|
hi i just installed adsl.my isp wants me to login to its web page in order to use adsl.i want to ask if there is a way to install gentoo from scratch using adsl without logging into this site.if i can't pls somebody explain me how to install gentoo from scratch using chroot _________________ Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help |
|
Back to top |
|
|
steelrose Apprentice
Joined: 06 May 2002 Posts: 245 Location: Cyprus
|
Posted: Mon Oct 14, 2002 10:42 am Post subject: |
|
|
also i want to ask the following
how do i find my ip adress in linux
how do i release my ip
and how do i renew my ip _________________ Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help |
|
Back to top |
|
|
Sieve n00b
Joined: 21 Oct 2002 Posts: 11 Location: Texas
|
Posted: Mon Oct 21, 2002 4:49 am Post subject: IP addy and such |
|
|
steelrose wrote: | also i want to ask the following
how do i find my ip adress in linux
how do i release my ip
and how do i renew my ip |
All commands must be entered as root.
ifconfig
Look for the eth0 line. eth0 is your first ethernet device. The second line down from eth0 you will see:
inet addr:your.ip.address.here
If your using adsl you may have something like ppp0 instead of eth0 in either case you will still want to look at the inet line. You should also see a lo line. That's your loopback interface with and inet addr of 127.0.0.1. Pay no attention to that one for the moment it has little to do with what you're wanting to know.
as far as renewing and releasing your IP try doing a man on dhcpcd, from the prompt type:
man dhcpcd
that should give you plenty to look at.
When I need to get a new address from the dhcp server I just type this command:
dhcpcd -n eth0
Hope that helps. |
|
Back to top |
|
|
|