LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connecting ubuntu to the net (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-ubuntu-to-the-net-534994/)

gibney 03-05-2007 10:46 AM

connecting ubuntu live cd to the internet
 
as advised I have entered iconfig into a terminal,what do I do then.
sorry for being thick.

tredegar 03-05-2007 11:47 AM

Quote:

sorry for being thick.
We all had to start somewhere, and this is the newbie forum, so no need to apologise.

Did you press the Return key after you had typed ifconfig?

If you had told us the output of that ifconfig command, and how you expect to connect to the internet (I hope the answer is "Down the ethernet cable to my already-configured router"), it would be easier to help you.

Just in case the answer is "Down the ethernet cable to my router", you could try sudo dhclient eth0, (and that's "e-t-h-zero", not "e-t-h-Oh") in a terminal.

Something should happen that will imply you are connected. Then try going off to google. If this doesn't work for you, stop dhclient from continuing to try to get you connected with <CTRL> C (that's hold-down-the-control-key press c release-the-control-key !), and repost here.

b0uncer 03-05-2007 11:52 AM

What kind of connection are you establishing? DSL, dialup modem, wireless or what?

For DSL:
Code:

sudo pppoeconf
The program asks you some questions (default answers are usually ok, except when it asks for your username and password, type those you use), and in the end queries if you want to start the connection during bootup or not (in the latter case you'll need to run it manually by typing pon dsl-provider).

For dialup modem: there should be (I think) a pppoe program of some kind in the menu; it works like those you use in Windows, and it should be easy to configure.

For wireless: you should use
Code:

iwlist eth1 event
and if that produces good output, your wireless device works. If you have one regular ethernet card and one wireless, you usually have eth0 for wired and eth1 for wireless LAN, or then wlan0 for wireless LAN. If yours is wlan0 and not eth1, use that instead. If the above command doesn't give anything, or if you get information that states the wireless device doesn't work, the native drivers might not work and you'll probably have to take a look at a program called ndiswrapper (there are howtos for that on the net).

gibney 03-05-2007 05:14 PM

connecting ubuntu to the net
 
thank's for advice,I have tried sudohclient eth0 and ctrl c no luck
also sudo pppoeconf still no joy.
I am connected to the net via usb cable attached to a wanadoo livebox
router.

pixellany 03-05-2007 06:27 PM

Quote:

Originally Posted by gibney
thank's for advice,I have tried sudohclient eth0 and ctrl c no luck
also sudo pppoeconf still no joy.
I am connected to the net via usb cable attached to a wanadoo livebox
router.

Is this referencing some other thread?? If so, please don't do this--someone like me just stumbling in does not know what has gone before.

If you have a router, you will not be using pppoeconf

What is "sudohclient"?

Basics: is the router set for static IP or DHCP? can you ping the router? Does the router have other computers connected and can they get to the net?

gibney 03-06-2007 03:53 AM

connecting ubuntu to the net
 
I am getting more confused I have tried sudoclient no sucsess
so will this help,I am probably not giving the right info.
anyway my router is a sagem livebox orange france,I have a pc
and a laptop the pc is on windows 98se the laptop windows xp family
edition both work on the net without problems,it's only when trying
to use linux I have any problems.
the router is IP but what is ping and how does it work??
I hope that the info will help someone to help me solve my problems.
thanks

AwesomeMachine 03-06-2007 05:37 AM

ping 192.168.1.1
or
ping 192.168.0.1

should connect to the router if it's working.

crustydaze 03-06-2007 06:35 AM

G'day,

Try this method it worked for me...

type in the firefox address bar... about:config

It will come up with a list of commands...scroll down until you find

network.dns.disableIPv6....ok this probably says false...well double click on it to change it to true

hope that helps

tredegar 03-06-2007 08:12 AM

gibney,

This is becoming chaotic: Please do not start a new thread for every reply!

This is the thread you started:
http://www.linuxquestions.org/questi...70#post2657270
Then you started this one:
http://www.linuxquestions.org/questi...55#post2657755
And now this THIRD one, all with the title "connecting ubuntu to the net".

It is driving me MAD and giving me a headache. Please STOP IT NOW!
Please open ONE thread, and keep replying there until you are sorted out.

Mods can you merge these threads?

Sheesh, I've got gibney windows all over my desktop now. No wonder you are confused!

So, on to the problem:

Quote:

I am connected to the net via usb cable attached to a wanadoo livebox
router.
This is likely to be the problem: The USB cable. Linux really doesn't like to connect to the internet with USB. It is a pain to get working, if you ever manage it at all. Does your "wanadoo livebox" give you the option of making a connection with Ethernet cable? (It looks like a big 'phone connector, with 8 wires / pins).

If not, I strongly suggest you do yourself a favour and go out and buy yourself an ADSL modem/router that works with Ethernet. I've used ones from Zoom ("X4" & "X5") and Netgear (DG834G, has wireless too, very good value) and they work very well, but just about anything that has Ethernet will do.

Mara 03-07-2007 03:42 PM

Moderator note:
gibney, I have merged the threads being in fact a part of one. Next time please post your reply in the same thread you have asked your question. Thanks.

Note that many member have email notification on. It means that if they posted an answer to your thread, they will be notified about your answer ONLY if you post it in the same thread. So proper threading benefits you in the first place.


All times are GMT -5. The time now is 04:24 PM.