LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-05-2004, 11:36 PM   #1
ftcnt
LQ Newbie
 
Registered: May 2004
Posts: 14

Rep: Reputation: 0
connecting to the net using di-604 router


i have just recently acquired a computer with slackware on it. someone here was kind enough to tell me how to set up the internet. only i found out today that i have to be connected to a router (dlink 604). this is the first computer i have and before that, i had to go to the library to use the net. each time i want to connect to the net using the adsl-start command, it doesnt work. i tried the netconfig command but i dont understand what it's talking about.

also, when i type 192.168.0.1 to access the router, it says network error.
is there an easy way of setting up the router configurations just like the internet configurations? for the internet set up i just typed in the konsole, adsl-setup and adsl-start.
 
Old 05-06-2004, 12:01 AM   #2
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
What is the output of ifconfig from the console? This will show whether drivers have been loaded for your nic.

I am not familiar with your particular router so I do not want to assume anything.

correct me if I am wrong on any of these points.

you have some sort of modem-> ethernet to wan side of your router-> ethernet to you slack box (not usb, firewire,etc?)

tom
 
Old 05-06-2004, 01:43 AM   #3
ftcnt
LQ Newbie
 
Registered: May 2004
Posts: 14

Original Poster
Rep: Reputation: 0
thanks for the speedy reply. this is what the ifconfig command gives me when im connected to the router.

eth1 Link encap:Ethernet HWaddr 00:80:C6:E9EB
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1034 errors:0 dropped:0 overruns:0 frame:0
TX packets:1125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:409053 (399.4 Kb) TX bytes:161489 (157.7 Kb)
Interrupt:11 Base address:0xd400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:780 (780.0 b) TX bytes:780 (780.0 b)


now on the instructions in the router, it says to open a browser and point it to 192.168.0.1 but it keeps saying network error.

when i use the adsl-start command i get this

usr/sbin/adsl-start: line 194: 7755 Terminated $CONNECT "$@" >/dev/null 2>&1

without the router fine but i think there is some configuration i need to do with the router. what might that be. thanks in advance
 
Old 05-06-2004, 09:41 PM   #4
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
You are getting network errors when attempting to connect to your router because you nic card is not functional. Everything is ok at a hardware/driver with respect to the card but it needs to be configured.

What distribution are you using? The location and manner in which the config files are used is distro specific.

Tom
 
Old 05-09-2004, 12:12 PM   #5
ftcnt
LQ Newbie
 
Registered: May 2004
Posts: 14

Original Poster
Rep: Reputation: 0
im using slackware 9.0. im just curious to know if it is a difficult job to configure slackware with the router. i can connect without the router to the internet
 
Old 05-09-2004, 09:35 PM   #6
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
It should not be hard to get you going. I suspect dhcp is not enabled in your router. Set a static ip by editing your /etc/rc.d/rc.inet1.conf file; the area you want is the "config info for eth1".

give your nic an ipaddress that you know does not confilict on your network

IPADDR="192.168.0.XXX"
NETMASK="255.255.255.0"
USE_DHCP="no"

at the bottom

GATEWAY="192.168.0.1"

unless you know the router's ip has not been changed you probably should reset it to factory defaults.

Reboot your machine and do ifconfig again to confirm your setting took effect.

You should now be able to connect to your router.

Tom
 
Old 07-09-2005, 08:26 PM   #7
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
Question same problem...

I have a DI-604 w/ fedora core 3 and can't seem to connect either... I have tried Tom's solution but w/ no success. do i have to get drivers for my NIC? If so, how can i find out what brand it is? Thanks in advance, man.
You rock. - Netfish9
 
Old 07-09-2005, 08:45 PM   #8
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
Re: same problem...

Quote:
Originally posted by netfish9
I have a DI-604 w/ fedora core 3 and can't seem to connect either... I have tried Tom's solution but w/ no success. do i have to get drivers for my NIC? If so, how can i find out what brand it is? Thanks in advance, man.
You rock. - Netfish9
/sbin/lspci

or you can physically look at it to find any model information that might be printed on it. usually it's on there somewhere. then search google or LQ to find out what driver you need, and go from there.


@ftcnt: i have that router, and i've been using it for years with slackware (and arch, debian, redhat, mandrake, etc.) as odious1 said, you probably just need to configure your interface, and then you should be able to access the router to set up DHCP if you want, etc.
 
Old 07-10-2005, 11:54 PM   #9
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
NIC drivers

My question is: from the output below, how can i know what NIC I have and where do i get the drivers for it? this is what I get when I type: lspci (any1 help / suggestion would be much appreciated!) Thanks in advance....

[root@localhost ~]# lspci
00:00.0 Host bridge: nVidia Corporation nForce CPU bridge (rev b2)
00:00.1 RAM memory: nVidia Corporation nForce 220/420 Memory Controller (rev b2)
00:00.2 RAM memory: nVidia Corporation nForce 220/420 Memory Controller (rev b2)
00:00.3 RAM memory: nVidia Corporation: Unknown device 01aa (rev b2)
00:01.0 ISA bridge: nVidia Corporation nForce ISA Bridge (rev c3)
00:01.1 SMBus: nVidia Corporation nForce PCI System Management (rev c1)
00:02.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3)
00:03.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3)
00:04.0 Ethernet controller: nVidia Corporation nForce Ethernet Controller (rev c2)
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio (rev c2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce Audio (rev c2)
00:08.0 PCI bridge: nVidia Corporation nForce PCI-to-PCI bridge (rev c2)
00:09.0 IDE interface: nVidia Corporation nForce IDE (rev c3)
00:1e.0 PCI bridge: nVidia Corporation nForce AGP to PCI Bridge (rev b2)
01:00.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW323 (rev 04)
01:02.0 Communication controller: Agere Systems (former Lucent Microelectronics) LT WinModem (rev 02)
02:00.0 VGA compatible controller: nVidia Corporation NVCrush11 [GeForce2 MX Integrated Graphics] (rev b1)
 
Old 07-11-2005, 12:32 AM   #10
shizzles
LQ Newbie
 
Registered: Jun 2005
Location: Chicago
Distribution: Ubuntu Server & Debian 6
Posts: 23

Rep: Reputation: 1
00:04.0 Ethernet controller: nVidia Corporation nForce Ethernet Controller (rev c2)

Correct me if im wrong but thats(above) ur NIC (intergrated is it) and looks like it has drivers already if its being detected.
 
Old 07-11-2005, 08:53 AM   #11
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
connection...

thank you so much for the quick replies! My only problem now is connecting to the internet via my d-link 604 ( I don't even know I to hook it up properly.) This is what I have:

D-link 604 --------------------------ethernet (slot: WAN )------------------------>PC
|
|
|
|
power supply

It doesn't seem right to me for some odd reason. My family has another PC which has a router ( westell ) from verizon and I am trying to connect to it with my d-link 604 b/c i'm too far away to connect w/ ethernet cable. So, I am trying to create a wireless connection. Will this work at all. How do I setup my PC to connect to the 604? And what commands do I need to use for it to work in Fedora Core 4?

Thanks guys!

PS: This is the friendliest and most helpful of all linux communities, I believe!
Keep that good work up!
 
Old 07-11-2005, 10:31 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
netfish9,
I do not know if FC4 includes any default Nvidia drivers but you can download them from their website. The ouput of the command lspci does not indicate that the drivers are being loaded. What does output of the following command show:
/sbin/ifconfig

The DI-604 is not a wireless router and indeed do not have it connected correctly. Are you sure this is the correct part number. The 624 is a wireless router. Can you provide any additional hardware information?

Normally the ISP service via a modem is connected to the wan port and the PCs are connected to the switch ports or LAN side. The router supplies the DHCP server to automatically assign an IP address to the PCs.
 
Old 07-11-2005, 05:21 PM   #13
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
Post /sbin/ifconfig

[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10C:3C:C7:8C
inet6 addr: fe80::210:dcff:fe3c:c78c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)
Interrupt:11 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3089 errors:0 dropped:0 overruns:0 frame:0
TX packets:3089 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3808948 (3.6 MiB) TX bytes:3808948 (3.6 MiB)

 
Old 07-11-2005, 05:25 PM   #14
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
d-link

this is the router I have ( DI-604 )

http://www.dlink.com/products/?pid=62

I do not how to configure it tho. there's another router in my home that i want to connect it to wirelessly. Thanks.
 
Old 07-11-2005, 05:46 PM   #15
netfish9
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: fedora core 4
Posts: 6

Rep: Reputation: 0
Smile

WOW -- nevermind about my last 2 posts!!! I have directly connected to the main router of my house w/ an ethernet cable and shazam! I'm online! I don't know what to say to thank you guys... you've been a great help -- I couldn't have done it without you. *sobbing* I love y'all!!!
- Netfish9
 
  


Reply


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
D-Link 604 router w/ DHCP chbin Linux - Networking 4 03-27-2005 12:37 AM
Connecting to Net with Surecom Network card and Linksys Router? EpicLinux Linux - Newbie 0 10-28-2003 03:04 PM
Dlink DI-604 router set up help. iamzzzzleeping Linux - Networking 6 10-17-2003 12:51 PM
DLink DI-604 router and Mandrake 9.1 wtd Linux - Networking 1 08-16-2003 03:20 PM
Connecting to I-net through Linksys router in Linux elgleon Linux - Networking 1 09-28-2001 10:52 AM


All times are GMT -5. The time now is 06:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration