Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-04-2005, 11:55 AM
|
#16
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
similar prob
I am experiencing a similar problem connecting to the internet. I didn't do the network config during install of new Slack 10.1 cause I usually don't have to. FC2 was loaded and connected without any config. I did a dig @ 192.168.0.1 (myprovider.com) and got answer, authority, additional ie: pri &sec dns addresses, query time. all seemed in order but I can't find where to enter this info into a conf file. This is a T20 on a port replicator with it's own nic, it shouldn't be a prob but this is my first attempt with Slack since Slack96 2.0. any help appreciated.
|
|
|
09-04-2005, 07:09 PM
|
#17
|
Member
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34
Rep:
|
If you are going static then the IP info goes into /etc/network/interfaces and the DNS info goes into /etc/resolv.conf...unless there's something unusual about Slackware.
|
|
|
09-08-2005, 04:59 PM
|
#18
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
thanks to mlomker
I tried to find the files you suggested and when I found them I found the problem, my ip address was wrong and in the resolv.conf the loopback was 0 instead of 1 Again Thanks
|
|
|
09-19-2005, 02:44 PM
|
#19
|
LQ Newbie
Registered: May 2005
Posts: 9
Rep:
|
I cannot ping gateway
Hi.
In my lab I am improving a Ubunto GNU/Linux computer, this one is connected directly to a network ethernet cable with RJ-45 conexion.
Current is a windows xp computer working well to browse the internet. I do not have access to the gateway or anything out my lab. Only the wire. I am copying the windows box network parameters (gw, ip, dns, etc) to the linux box.
$ mii-tool eth0
link ok
$ifconfig eth0
UP and with the correct parameters
But with several collisions
at
/etc/interfaces (or something like that, I don`t have the correct path now in this computer)
my interface is well configured and gateway is checked.
$ping localhost
OK
$ping myMachine
OK
but
$ping <gateWay IP>
CAN DO IT
$arp -a
<gateWay IP> (incomplete)
I had read network tutorials and I suppose the problem is in the Hardware address of the gateway, because package need ip and HwAdd to comunicate but I not sure of this and I do know how to fix this
I try adding with arp the Hwaddr:
$ arp -s <gateWay IP> xx:xx:xx:xx:xx:xx
I detect a change in the ping <gateWay IP> but problem is not solved.
Any idea?
Is something to say that when windows xp computer was format, putting the network parameters to it, result in the same problem and out-side-network administrator might be call to solve the problem in seconds, but he do not want to share "the secret".
|
|
|
09-19-2005, 08:14 PM
|
#20
|
Member
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34
Rep:
|
Re: I cannot ping gateway
Quote:
to it, result in the same problem and out-side-network administrator might be call to solve the problem in seconds, but he do not want to share "the secret". [/B]
|
It's hard to say what kind of security a university might have.
What does the output of route -n give you?
|
|
|
09-20-2005, 08:09 AM
|
#21
|
LQ Newbie
Registered: May 2005
Posts: 9
Rep:
|
Ubunto GNU/-Linux Network diagnostic
These are the outputs:
(IP, Gw, and others have been changed in order to preserve security)
eth0 is the interface (NIC) connected to the network cable, the unique one, take off from the windows xp machine current working well accesing the internet and the outside network.
132.248.36.254, is the Gw
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:03:47:6B:9D:AB
inet addr:132.248.36.43 Bcast:132.248.36.255 Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fe6b:9dab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:1
TX packets:75 errors:16 dropped:0 overruns:0 carrier:16
collisions:412 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:5150 (5.0 KiB)
# mii-tool eth0
eth0: negotiated 100baseTx-HD, link ok
# ping micromaquina
PING micromaquina (132.248.36.43) 56(84) bytes of data.
64 bytes from micromaquina (132.248.36.43): icmp_seq=1 ttl=64 time=0.028 ms
...
--- micromaquina ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 9998ms
rtt min/avg/max/mdev = 0.028/0.029/0.031/0.001 ms
#ping 132.248.36.254
PING 132.248.36.254 (132.248.36.254) 56(84) bytes of data.
From 132.248.36.43 icmp_seq=2 Destination Host Unreachable
...
--- 132.248.36.254 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4000ms
, pipe 3
#arp -a
? (132.248.36.254) at <incomplete> on eth0
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
132.248.36.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 132.248.36.254 0.0.0.0 UG 0 0 0 eth0
|
|
|
09-20-2005, 04:36 PM
|
#22
|
Member
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34
Rep:
|
Re: Ubunto GNU/-Linux Network diagnostic
I wonder if they have MAC address security enabled on the router? Have you tried booting the WinXP box to a Knoppix CD? I suspect that you could also get the MAC address from the Windows box, unplug it, and then find a way to configure MAC address spoofing on the linux machine.
|
|
|
09-21-2005, 08:42 AM
|
#23
|
LQ Newbie
Registered: May 2005
Posts: 9
Rep:
|
I have the gateway MAC address
With the xp machine already connected to the internet I did
C:\>ping Gw
and after that I did:
C:\>arp -a (not very sure)
And Gw IP and MAC address was displayed there (I sure, I get it).
How can I configure this MAC in the GNU/LINUX box? As I said before I try to do it, but I am not sure how can I do it.
I read that an internet "package" needs the IP and the MAC to be transmitted, this is the reason I suspect the MAC is the key.
On the other hand, with the same xp machine (this means the same NIC and the same MAC connected to the LAN and Gw) when it was formatted with xp the same trouble had presented (after input all the network parameters). This give me a dude about what can be the problem.
|
|
|
09-21-2005, 11:12 AM
|
#24
|
Member
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34
Rep:
|
Re: I have the gateway MAC address
Quote:
connected to the LAN and Gw) when it was formatted with xp the same trouble had presented (after input all the network parameters). This give me a dude about what can be the problem.
|
It isn't what I thought it was, then. I think you should call the network guys and see what's up.
|
|
|
All times are GMT -5. The time now is 07:54 AM.
|
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
|
|