Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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.
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?
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.