LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-04-2005, 11:36 AM   #1
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Rep: Reputation: 30
can't get on the net with Suse


Hi I have a problem. I have been trying to set up forwarding so I can use p2p etc so I configured my bt voyager 205 router to forward to my ip address as I needed to setup a static ip I first changed this in XP as i'm duel booting to 192.168.1.113 when I do ipconfig in XP it shows up as 192.168.1.113 however when I do a check on the net it shows my ip address as 81.152.163.116?? I have obviously disabled DHCP so I can't understand why it is showing a DHCP ip address??

Anyway I then ran Suse 9.1 entered yast and set up my LAN card with a static ip address of 192.168.1.113 as I did for XP I also allowed port forwarding but everytim I try to connect to the net for Linux, Google, Yahoo etc it just comes back telling me error conecting to (whatever address) and says unknown host?? Can anyone help???
 
Old 03-04-2005, 12:26 PM   #2
aufomechanic
Member
 
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
205 router is doing NAT ? Or is the ISP doing NAT. Whats the subnet mask ??

Can you ping the near interace of the router ?
 
Old 03-04-2005, 12:40 PM   #3
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by aufomechanic
205 router is doing NAT ? Or is the ISP doing NAT. Whats the subnet mask ??

Can you ping the near interace of the router ?
Subnet mask is 255.255.255.0

I can ping in XP did ping www.google.com which was ok.

Can't do anything in Linux.

the router is doing NAT I had to do that process whilst configuring the router.

I have just tried the other ip 81.152.163.116 as a static because it looks like BT have already given me that iIP as static via DHCP but it wouldn't work and the only way thats going to happen is if I set DHCP in router which defeats the object if I want to Port forward?
 
Old 03-04-2005, 12:47 PM   #4
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
This is whats in IP route in the bt config utill

Destination Netmask NextHop IF Name Route Type Route Origin Action
0.0.0.0 0.0.0.0 213.120.159.179 ppp-0 Indirect Dynamic
81.152.163.116 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
127.0.0.0 255.0.0.0 127.0.0.1 lo-0 Direct Dynamic
192.168.1.0 255.255.255.0 192.168.1.1 eth-0 Direct Dynamic
192.168.1.1 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
192.168.1.2 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
194.72.9.34 255.255.255.255 213.120.159.179 ppp-0 Indirect Dynamic
194.74.65.68 255.255.255.255 213.120.159.179 ppp-0 Indirect Dynamic
213.120.159.179 255.255.255.255 81.152.163.116 ppp-0 Direct Dynamic

My static IP is not in there, but the 81.152.163.116
 
Old 03-04-2005, 12:56 PM   #5
aufomechanic
Member
 
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
BT have not given you a static give it a few days and it will change.

Destination Netmask NextHop IF Name Route Type Route Origin Action
0.0.0.0 0.0.0.0 213.120.159.179 ppp-0 Indirect Dynamic
Default
81.152.163.116 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
Loop back
127.0.0.0 255.0.0.0 127.0.0.1 lo-0 Direct Dynamic
Loop Back
192.168.1.0 255.255.255.0 192.168.1.1 eth-0 Direct Dynamic
Right fine bit uneccessary
192.168.1.1 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
Huh
192.168.1.2 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
Huh
194.72.9.34 255.255.255.255 213.120.159.179 ppp-0 Indirect Dynamic
Must be pap/chap/radius stuff
194.74.65.68 255.255.255.255 213.120.159.179 ppp-0 Indirect Dynamic
Same again
213.120.159.179 255.255.255.255 81.152.163.116 ppp-0 Direct Dynamic
This is for the PPP link

DHCP or No DHCP is not your problem on XP or linux answer these questions

Type ipconfig -a and show us the results

Can you ping 192.168.1.1 (From XP & Linux)
Can you ping 192.168.1.2 (From XP & Linux)

what does nslookup bbc.co.uk return (From XP & Linux)

what does traceroute bbc.co.uk return (From Linux)
 
Old 03-04-2005, 01:16 PM   #6
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Ok Thanks.

Will check the stuff you asked for.

Last edited by bograt; 03-04-2005 at 02:32 PM.
 
Old 03-04-2005, 02:40 PM   #7
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Quote:
[i]
192.168.1.0 255.255.255.0 192.168.1.1 eth-0 Direct Dynamic
Right fine bit uneccessary
192.168.1.1 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
Huh
192.168.1.2 255.255.255.255 127.0.0.1 lo-0 Direct Dynamic
Huh


DHCP or No DHCP is not your problem on XP or linux answer these questions

Type ipconfig -a and show us the results

Can you ping 192.168.1.1 (From XP & Linux)
Can you ping 192.168.1.2 (From XP & Linux)

what does nslookup bbc.co.uk return (From XP & Linux)

what does traceroute bbc.co.uk return (From Linux) [/B]
Sorry was a little rushed earlier!

Ok ping on both addressess works fin in XP Getting nothing in Suse

nslookup bbc.co.uk dosn't show anything can't find server

How do I copy the info from command box where I ran ipconfig -a
too here? do I need to do print screen and past>

traceroute bbc.co.uk Nothing happening Plus when I do ping in the command line in Linux nothing happens. ( I'm assuming I do the ping in command line ) not to cleaver with Linux yet.
 
Old 03-04-2005, 02:45 PM   #8
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30


Update

Last edited by bograt; 03-05-2005 at 09:08 AM.
 
Old 03-04-2005, 06:27 PM   #9
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Is there anyone who can help me with this problem? I tried much of what I know which isn't a lot I even reinstalled Suse with no luck so I can only assume it's a problem with configurations in my router. At the moment i'm having to us XP and realy want to get back to using the big L!
 
Old 03-05-2005, 03:56 AM   #10
aufomechanic
Member
 
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
ON Linux use ifconfig -a
On windows use ipconfig /all

And post the results along with the other tests I said. First we have to know if the linux box can even get to the router.
 
Old 03-05-2005, 09:07 AM   #11
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\dad>ipconfig -all

Windows IP Configuration

Host Name . . . . . . . . . . . . : g1a4x1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : 192.168.1.1

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : 192.168.1.1
Description . . . . . . . . . . . : VIA Compatable Fast Ethernet Adapter

Physical Address. . . . . . . . . : 00-0E-A6-7C-CA-5E
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.113
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
192.168.1.2


-------------------------------------------------------------------------------

C:\Documents and Settings\dad>nslookup bbc.co.uk
*** Can't find server name for address 192.168.1.1: Non-existent domain
DNS request timed out.
timeout was 2 seconds.
*** Can't find server name for address 192.168.1.2: Timed out
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.1

Non-authoritative answer:
Name: bbc.co.uk
Address: 212.58.228.154

Looks like everythings balls up
-------------------------------------------------------------------------------

Will Paste Linux info in a while and hopefully you can help me sort this mess out.
 
Old 03-05-2005, 09:45 AM   #12
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
How do I copy the info of ifconfig -a from root to a text doc so I can trasfare it to my windows directory so I can cut and paste it here????
 
Old 03-05-2005, 09:51 AM   #13
aufomechanic
Member
 
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
ifconifg -a > /tmp/ifconfig.txt

ftp ifconfig to some server

start windows again and pull it down


also do ping -b 192.168.1.0
also do ping -b 192.168.2.0
also do ping -b 192.168.0.0

And paste the results

also do netstat -rn will return summit like

192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


The last entry that starts with 0.0.0.0 in my case "0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0"
ping the second entry e.g. ping 192.168.0.1

and also do nslookup bbc.co.uk
 
Old 03-05-2005, 10:35 AM   #14
bograt
Member
 
Registered: Jul 2004
Location: Manchester UK
Distribution: Suse
Posts: 167

Original Poster
Rep: Reputation: 30
Update



Last edited by bograt; 03-05-2005 at 11:20 AM.
 
Old 03-05-2005, 10:53 AM   #15
aufomechanic
Member
 
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
I meant you to do it in linux.

From the windows box
your IP should be 192.168.1.113 and gateway 192.168.1.1

So do this on the linux box as root

ifconfig eth0 192.168.1.113 netmask 255.255.255.0 up

ping 192.168.1.1
and
ping 192.168.1.2

If that works the linux box can get to router!

Then
route add default gw 192.168.1.1

Now the next part I dont think you have domainserver set up.

echo "nameserver 192.168.1.1" >> /etc/resolv.conf
echo "nameserver 192.168.1.2" >> /etc/resolv.conf

Now do

nslookup bbc.co.uk

And tell me what you got back for all the commands.

Just do the above as I set it out!
 
  


Reply



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
cableone.net DHCP on SuSE 9.1 LUB997 Linux - Software 1 07-18-2005 12:15 AM
SuSE 9.2 ASP.NET with Mono Icarus315 Linux - Software 1 01-31-2005 07:37 AM
Getting net connection from XP Bridge into SuSe. Djm101 Linux - Networking 0 01-27-2005 03:37 PM
SUSE net install with Telus synecdoche Linux - Distributions 1 06-14-2004 10:37 PM
Suse 8.1 SMB net install Kristersaurus Linux - Networking 1 06-25-2003 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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