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

Notices


Reply
  Search this Thread
Old 02-20-2005, 12:30 PM   #1
mio
LQ Newbie
 
Registered: Nov 2004
Distribution: mandrake 9.1
Posts: 3

Rep: Reputation: 0
Question how can i start my network card at boot up


here is my problem

I installed Slackware 10 on my machine and everything was fine. Later on I added network card realtek 8029 to my PC. Slackware doesn't detect it at boot up. So I have to load module ne2k-pci for NIC and then start eth0, configure IP address, etc.... I made a simple script for this.
Is there any way how to do this at booting?
Can slack detect it automatically without reinstalling whole system or do I have to do something with the script?
The script looks like this :

modprobe ne2k-pci
ifconfig eth0 up
ifconfig inet 192.168.10.1 netmask 255.255.255.0

thanks for help, Mio.
 
Old 02-20-2005, 12:45 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
You could add ne2k-pci to your /etc/modules file (kernel modules to be loaded at boot time), and then add an entry into your /etc/network/interfaces line, such as
Code:
# The primary network interface
auto eth0
iface eth0 inet static
        address <insert address>
        netmask 255.255.255.0
        network <insert address>
        broadcast <insert address>
        gateway <insert address>
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers <insert address>
        dns-search <insert address>
Cheers,

mj
 
  


Reply



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
Network service start at boot? King of Japan Linux - Networking 2 09-01-2005 10:23 AM
Suse 9.2 network won't start at boot alex2002 Linux - Networking 1 04-21-2005 06:58 PM
setting network start timeout at boot sayantam Linux - Networking 1 06-10-2004 04:20 AM
Mandrake 10 - Network won't start at boot bluefire Mandriva 5 06-04-2004 07:03 AM
network doesn't start at boot ritturaj Linux - Newbie 3 02-08-2004 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 AM.

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