LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-19-2004, 01:40 PM   #1
marlor
Member
 
Registered: May 2004
Distribution: Slackware C
Posts: 274

Rep: Reputation: 30
internet not working


hi guys

on my laptop i got a Realtek Rhine II fast ethernet adapter

1. how can i know that my network card works with standart slack install?

2. i got a dynamic IP, but the "netconfig" command seems to be for static, because it doesn't ask me if i have dynamic.


thanks in advance
 
Old 06-19-2004, 02:01 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
You have an IP but you can't network? Can you ping any machine?
 
Old 06-19-2004, 02:46 PM   #3
marlor
Member
 
Registered: May 2004
Distribution: Slackware C
Posts: 274

Original Poster
Rep: Reputation: 30
no,

internet doesn't work on linux at the moment, booted my windows partition now to come online.

how can i set up my network card which is described in my first post, and how can i make it that slack realises that it is dynamic?


thank (me noob)
 
Old 06-19-2004, 02:58 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
I'm not a slack user, but this what I would try:
In the console:
lspci (will show you some info on pci devices, you can search your card there. I'm guessing slack knows about your card and that this is not the problem).

ifconfig (will show you network info, if you can find an IP value, its good!).

ifdown eth0 (will bring the interface down, allowing you to up it again, and run the dhcp client. If you connection is dynamic, its dhcp, right?).

ifup eth0 (will bring it up, and try to grab ip by dhcp).

If all this work, you have to figure a way to insert this in the boot process, and you're done.
 
Old 06-20-2004, 04:13 AM   #5
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
netconfig DOES ask you for dynamic IP settings. It is DHCP.

Anyhow, you can edit /etc/rc.d/rc.inet1.conf
Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
This is for Slackware 9.1 and later. See the USE_DHCP[0]="yes"
Yours should look like that.

AND if your Slackware installation is still using the stock-kernel. Then you should have the eth0 working already.

The steps you should do are:

1. Boot-up Slackware (9.1 or later)
2. Login as root
3. cd /etc/rc.d
4. use your favourite text editor to edit the rc.inet1.conf file to the example above.
5. still in /etc/rc.d -- > ./rc.inet1 stop and then ./rc.inet1 start
you should be able to see your MAC address and your DHCP address.
6. ifconfig to double check.
ifconfig will show your eth1 and some thing like :

Code:
root@bigmac:/etc/rc.d# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:xx:75:AD:xx:3x
          inet addr:10.x.x.xx  Bcast:10.5.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7407208 errors:0 dropped:0 overruns:243 frame:0
          TX packets:8652779 errors:0 dropped:0 overruns:0 carrier:0
          collisions:260942 txqueuelen:1000
          RX bytes:1206018170 (1150.1 Mb)  TX bytes:3440706136 (3281.3 Mb)
          Interrupt:9 Base address:0xac00
I have edited the info above for safety purposes.
 
Old 06-20-2004, 06:13 AM   #6
marlor
Member
 
Registered: May 2004
Distribution: Slackware C
Posts: 274

Original Poster
Rep: Reputation: 30
ok, this problem is solved, slack did notice my card afterall, and with "netconfig" i could manage to set it up.

with dynamic i ment dhcp

thanks for the effort people

Last edited by marlor; 06-20-2004 at 06:14 AM.
 
  


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
Internet not working suckerr70 Linux - Networking 3 04-18-2005 08:34 PM
Internet not working! WWMPCDD Linux - Wireless Networking 2 10-27-2004 01:43 PM
Internet Not Working! rubbercash Linux - Networking 4 07-20-2004 12:27 PM
Internet is not working NEED HELP!! Vectrox Slackware 8 04-20-2004 07:43 AM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:02 PM.

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