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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-21-2005, 12:13 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8
Rep:
|
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
|
|
|
|
05-21-2005, 12:25 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You'll need to add the default route (gateway):
route add default gw 61.16.148.65
|
|
|
|
05-21-2005, 12:43 PM
|
#3
|
|
LQ Newbie
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8
Original Poster
Rep:
|
i did that and i got :
# route add default gw 61.16.148.65
SIOCADDRT: network is unreachable
|
|
|
|
05-21-2005, 12:54 PM
|
#4
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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?
|
|
|
|
05-21-2005, 01:01 PM
|
#5
|
|
LQ Newbie
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8
Original Poster
Rep:
|
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???
|
|
|
|
05-21-2005, 01:08 PM
|
#6
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
|
05-21-2005, 01:14 PM
|
#7
|
|
LQ Newbie
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
|
05-22-2005, 06:36 AM
|
#8
|
|
LQ Newbie
Registered: May 2005
Location: India
Distribution: Red hat 9
Posts: 8
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|