
Yes. You may need to use sudo. I'm not sure if changing the IP in ubuntu requires root permissions... so... At the command line type... sudo ifconfig eth0 <number provided> You will be prompted for a password the first time you do it... enter your normal password. However, this will change your IP address, but it won't give you a new gatway... Let's assume you're using your laptop on ADSL at home using a common router... so, your ip address is currently 192.168.1.2 Your routers address is 192.168.1.1... So the gateway on your machine is 192.168.1.1 Type the following at the command line to see... sudo route Let's assume your cafe says to use 10.0.0.5 and that their router is 10.0.0.1 You next need to change your default gateway to be 10.0.0.1 and not 192.168.1.1 You use the route command to do this. I suggest the following... 1. tell us a bit more about the actual situation. How is your machine configured at present... at the command line type... sudo ifconfig then post us the output. at the command line type... sudo route then post us the output. Tell us what the ip address is that the cafe told you to use was. 2. have a quick read of the man pages for ifconfig and route. man ifconfig man route (You shouldn't need to use sudo, but if you get an error, then try sudo) HTH Cheers Don jaytee(a)clear.net.nz wrote:
I just googled and found: ifconfig eth0 <number provided> Is it as simple as just doing this??
If yes! do I need to undo this when I am finished?? John.
Hello all, I am trying to update my system and went to an internet cafe to use their network. However, they told me I need to add their ip address (Which they gave to me on a written note) I have never had to do this before and have no idea how to do it in Ubuntu. Will some one please help with this? Regards John
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- Don Gould www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz - www.bowenvale.co.nz - www.hearingbooks.co.nz - SkypeMe: ThinkDesignPrint