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.
I am a newbie, who installed my nic and dsl modem after installing linux. I have a recent dell 512 MB RAM computer with a W2K dual boot.
My eth0 gets found on bootup, but it is set to
3Com3c920 Integrated fast internet controller
(3c-905TX compatible),
when the actual card I installed is a
Linksys LNE100TX fast internet adapter (LNE100TX v4).
I took both those numbers from my W2K device manager, and they appear as eth0 and eth1 in my neat command configuration in Linux.
When I try to set the configuration in neat, and press apply, I get this error:
"Darn, linking device pppo, ns2.mindspring.com failed"
ns2.mindspring.com is my DNS hostname for my cable modem service. My dsl modem is a SpeedStream 5260 adsl modem.
What does ppp0 have to do with this? I thought ppp was used for dialup connections, not dsl. Why does my nic appear to show up twice, or is one of those the dsl modem?
Thank you for helping connect linux to the web; it is sure a lot harder than connecting W2K to the web.
First off, pppo is for PPPoE protocols means that you obtain your IP configuration from ISP using ppp authontication process ( I hope I spelled it right). There is a different story if you are using DHCP to connect to your ISP, then you need to configure your NIC to obtain IP information using DHCP, in internet and network configuration it will allow you to do so.
I want to understand linux, that was the reason I installed it. I read and re-read the documentation I find, but the hardest part is knowing which part of the million pages of documentation applies to my situation.
I went to roaring penuin, and also copied your instructions in my notebook to use when I go home tonight and get to my linux box. But what exactly do your instructions *mean*?
What is tulip?
What is modprobe?
what is ifconfig doing?
Since I can go look those up now, the most important question I have is:
How did you know that my problem related to those commands in particular?
None of the material I read trying to solve my problem even mentioned these; Instead it talked of neat or DNS, or gave me the man page for netconfig.
Is it true that simply typing incantations and secret fromulas leads eventually to *undertstanding* what is going on?
this may not apply to your problem, but the reasoning is this...
you said your card was recognized as a 3com so if the 3c905 driver is loaded then rmmod 3c905 will unload it. I doubt it will be because it would have failed to load, so really you more than likely do not need this but it won't hurt.
also there must be an entry for the tulip driver in /etc/modules.conf file
so to use the tulip driver, which works with the linksys card you need to set the alias in /etc/modules.conf for eth0
eth0 is your nic
modprobe attempts to load the driver
ifconfig is setting the ip address of the card to 0.0.0.0 which will get it ready for rp-pppoe, this may also not be necessary but in some cases it may be.
Last edited by DavidPhillips; 01-21-2002 at 09:18 PM.
Thank you for your explanation, David. I had some difficulty carying out your recommendation. After editing the modules.conf file and rebooting, the login messages report
"invalid line 7 and line 8 in modules.config", which are the two lines I added. I just went back to be sure everything is spelled right and appears in the proper order, and it's all ok as far as I can tell.
Also, I downloaded the roaring penguin file (from windows of course, because the whole point of this exercise is to get web access through linux). I saved the file to a floppy, but when I tried mounting the floppy, I receive only a message asking me If I want to format the floppy (i.e. linux doesn't see the windows data).
How do I get around this? I have heard that I can mount my windows partition in linux, to have access to the files from linux. How would I do that, enabling me to get to the downloaded file from roaring penguin?
the floppy will not work because of the lack of support for vfat, or the mount command you are using.
I guess you have a folder named /mnt/floppy
if not create it using this command...
mkdir /mnt/floppy
then use this command
mount -t vfat /dev/fd0 /mnt/floppy
this will try to mount the floppy (dev/fd0) in the folder /mnt/floppy, and the file type expected will be vfat (windows)
if you get the error that it is not supported then you need to enable it in the kernel
I usually do a custom install, and enable dos windows connectivity.
and if the tulip module is not found in the kernel modules then you will need to enable it as well in the kernel.
this is really strange if you have RH 7.1 or 7.2 because they should install the nic when you installed the system. or after install kudzu should have seen it
Last edited by DavidPhillips; 01-22-2002 at 09:46 PM.
The failure of modprobe to run prompted me to check my rpm's and see if something is missing. Immediately after install, I couldn't get vim to work, and ultimately learned it hadn't been installed (why, I don't know).
What do the various prefixes in front of the rpm's mean? Are the "missing" ones important? I have a shell that I work in, so I don't understand that bash is missing. Does this have anything to do with why modprobe won't run and why I can't seem to connect to the web?
As for 2 nics, I really thought I only had one. I installed 1, and don't remember that there was one in already. I didn't pay for one to come with my computer. I'm more of a hardware newbie than even a linux newbie.
..?..... /usr/sbin/glibc_post_upgradei
.....U.. /dev/console
S.5....T c /etc/openldap/ldap.conf
.M...... c /home/httpd/html/index.html
I don't have those two answers yet, but I *did* get the roaring penguin rpm installed (thank you!). The first time I tried adsl-setup, adsl-connect, I got an authentication error, so I thought I was almost home. (Every time I try adsl-start I get a timeout error)
I re-enterd my username and password in adsl-setup, tried adsl-connect, aand twice received a slow-filling screenful of:
using interface ppp3
connect: ppp3 <--> /dev/pts/4
LCP: Timeout sending Config requests
Connection terminated
pppoe: Timeout waiting for PADO packets
using interface ppp3
Connect: pp3 <--> /dev/pts/4
...and so on till I press ^C
Incidentally, I need to type the full pathname for the adsl commands
/usr/sbin/adsl-setup
to get them to run, I guess it's not in my path (?) Is that why modprobe doesn't work, it isn't in my path?
I did everything over again, and made it to the web! I wanted to post my appreciation from linux, but I couldn't find this site in google, so I had to log out of linux to get to my windows bookmark. But anyway, it finally worked. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.