Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-02-2004, 01:36 PM   #1
Registered: Jan 2003
Distribution: LFS
Posts: 64

Rep: Reputation: 15
Question How does ifconfig know... ?

when I run:
ifconfig eth0 up
how does ifconfig know what eth0 is? It's just an alias for an interface, right? I want to bring up a different interface, but it doesn't have an alias (such as eth0). This interface is my USB modem (Alcatel SpeedTouch), and eth0 is my network card.

I have a program (modem_run), which loads the driver for my USB modem. After running that, ifconfig shows an interface named ppp0, which is my USB modem. Then I can run pppd to connect to the internet, works fine. But I want to use the new 2.6 kernel, which comes with a driver for my modem. I won't need modem_run to load it anymore. But I don't know how to bring up the interface! It says ppp0 is an unknown interface, so I'm guessing I have to tell it what ppp0 is somehow? How do I do that?
Old 06-02-2004, 02:10 PM   #2
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
here's where to load drivers:


in there, you will find aliases for eth interface and many other things..
Old 06-02-2004, 03:19 PM   #3
Registered: Jan 2003
Distribution: LFS
Posts: 64

Original Poster
Rep: Reputation: 15
But the drivers are not modules, they are compiled into the kernel.
I did find the line:
alias eth0 dmfe
in both /etc/modules.conf and /etc/modprobe.conf, so I tryed adding:
alias ppp0 speedtch
but it didn't do anything. Tryed compiling the drivers as modules, still nothing. I removed both the eth0 and ppp0 lines from /etc/modules.conf and /etc/modprobe.conf, and eth0 still works So that definately doesn't have anything to do with it =(.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
Ifconfig mrodriguez Linux - Newbie 2 02-16-2005 12:17 PM
Oh where or where has ifconfig gone thotFree Linux - Software 3 11-13-2003 12:27 AM
Ifconfig ! mesta Linux - Software 2 02-04-2003 09:18 AM
ifconfig Astro Slackware 6 01-08-2003 04:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration