LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-21-2005, 12:13 PM   #1
ask4gaurav
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8

Rep: Reputation: 0
net working in win2k but not in RHLinux 9 using RTL 8139/810x nic


hello everybody,
i am a newbie for linux
iam getting few problems....

let me tell in details what h/w i have:

cyrix M-II 233MHz processor(i know i need 400MHz at least for GUI still i experimented that and i succeeded in running that)
RAM is okay (256MB)
via chipset motherboard
realtek RTL 8139/810x family nic(Ethernet card)
yamaha OPL3-Sax WDM (SOUND CARD)

the LAST ONE is working with windows 2000 pro but didn't detected(failed) with red hat 9(i have dual boot system)

one more and IMPORTANT PROBLEM is that my INTERNET is NOT woking in Linux but in win2k it is running well .
my system detected realtek card as some other card(something like SURECOM)

my static IP address is 61.16.148.196
subnet mask is 255.255.255.192
DNS and gateway are 61.16.148.65

i tried few commands and following are the results:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:50:00:9A:59
inet addr:61.16.148.196 Bcast:61.16.148.255 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2705 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:180704 (176.4 Kb) TX bytes:210 (210.0 b)
Interrupt:10 Base address:0xdf00

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:1571 errors:0 dropped:0 overruns:0 frame:0
TX packets:1571 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:106775 (104.2 Kb) TX bytes:106775 (104.2 Kb)

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
61.16.148.192 * 255.255.255.192 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost
[root@localhost root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=61.16.148.196
NETMASK=255.255.255.192
GATEWAY=61.16.148.65
TYPE=Ethernet
USERCTL=no
PEERDNS=no
NETWORK=61.16.148.192
BROADCAST=61.16.148.255

# dmesg | grep eth
divert: allocating divert_blk for eth0
eth0: 100/10M Ethernet PCI Adapter at 0xdf00, 00:e0:50:00:9a:59, IRQ 10.

# ping 61.16.148.196
PING 61.16.148.196 (61.16.148.196) 56(84) bytes of data.
64 bytes from 61.16.148.196: icmp_seq=1 ttl=64 time=0.375 ms
64 bytes from 61.16.148.196: icmp_seq=2 ttl=64 time=0.128 ms
64 bytes from 61.16.148.196: icmp_seq=3 ttl=64 time=0.126 ms
64 bytes from 61.16.148.196: icmp_seq=4 ttl=64 time=0.137 ms
64 bytes from 61.16.148.196: icmp_seq=5 ttl=64 time=0.130 ms
64 bytes from 61.16.148.196: icmp_seq=6 ttl=64 time=0.131 ms
64 bytes from 61.16.148.196: icmp_seq=7 ttl=64 time=0.124 ms

--- 61.16.148.196 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6010ms
rtt min/avg/max/mdev = 0.124/0.164/0.375/0.086 ms

# ping 61.16.148.65
connect: Network is unreachable

# ping 61.16.148.33
connect: Network is unreachable

HELP ME OUT
waiting for a quick reply
 
Old 05-21-2005, 12:25 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You'll need to add the default route (gateway):
route add default gw 61.16.148.65
 
Old 05-21-2005, 12:43 PM   #3
ask4gaurav
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
i did that and i got :
# route add default gw 61.16.148.65
SIOCADDRT: network is unreachable
 
Old 05-21-2005, 12:54 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That would make sense considering that your subnet mask only gives you access to hosts .193 to .254. Are you sure you have the correct netmask and gateway?
 
Old 05-21-2005, 01:01 PM   #5
ask4gaurav
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
see about a year ago when i took this LAN connection (CABLE ) he gave me the DNS as 61.16.148.193 but after few months he again gave me (and all others ofcourse) 61.16.148.65/61.16.148.33
and i am sure that i am using these settings as shown by tcp/ip properties :
ip address : 61.16.148.196
subnet mask: 255.255.255.192
default gateway: 61.16.148.33
preffered DNS: 61.16.148.33

any suggestions???
 
Old 05-21-2005, 01:08 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The gateway will need to be in the same ip range as your netmask. I would double check with your provider what IP address, network mask and gateway you should be using.
 
Old 05-21-2005, 01:14 PM   #7
ask4gaurav
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
now what changes u recommend that i shud ask to my provider.
help with few details

Last edited by ask4gaurav; 05-21-2005 at 01:29 PM.
 
Old 05-22-2005, 06:36 AM   #8
ask4gaurav
LQ Newbie
 
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for ur suggestion ...
i edit my subnet mask from 255.255.255.192 to 255.255.255.0 and my net starts working
thank you
 
  


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
Can't configure my Realtek RTL 8139 in ubuntu Guest1234 Linux - Networking 10 04-08-2008 12:30 PM
Woody 2.2.20 kernel and zen1200 (rtl-8139) nic .. missing files or just confusion. Martiniv Linux - Laptop and Netbook 2 04-21-2004 02:01 PM
Please help with RTL 8139 on RedHat 9 danywu Linux - Networking 12 12-12-2003 07:08 PM
RTL-8139 on ECS L7SOM mobo Chernobyl Linux - Hardware 6 04-05-2003 01:31 AM
Problem configuring rtl 8139 buscard Raven_X_Neo Linux - Networking 0 10-30-2002 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 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