LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-04-2005, 11:55 AM   #16
FullVersive
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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.
 
Old 09-04-2005, 07:09 PM   #17
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
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.
 
Old 09-08-2005, 04:59 PM   #18
FullVersive
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 09-19-2005, 02:44 PM   #19
gengiskanhg
LQ Newbie
 
Registered: May 2005
Posts: 9

Rep: Reputation: 0
Lightbulb 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".
 
Old 09-19-2005, 08:14 PM   #20
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
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?
 
Old 09-20-2005, 08:09 AM   #21
gengiskanhg
LQ Newbie
 
Registered: May 2005
Posts: 9

Rep: Reputation: 0
Post 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
 
Old 09-20-2005, 04:36 PM   #22
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
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.
 
Old 09-21-2005, 08:42 AM   #23
gengiskanhg
LQ Newbie
 
Registered: May 2005
Posts: 9

Rep: Reputation: 0
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.
 
Old 09-21-2005, 11:12 AM   #24
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
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.
 
  


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
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
How to connect to the internet??? Hachaso Linux - Software 2 04-12-2002 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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