LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-29-2003, 05:11 PM   #1
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
IP Problems


Okay so this is how the network looks:

RH9-------WinXP-----DSL-------Internet

Here is the situation:

I am trying to setup my RH9 machine as a server. I have installed Webmin. I can access webmin from the RH9 machine so that is working. I have apache running, i have the telnet server running. But for some reason i cant telnet to it or get to the http server from any where else other then the RH9 machine. I cant even telnet at all from anywhere.

I have tried setting the WinXP port forwarding and have had no luck either. Is there somthing that i am not setting properly or am i just doing it all wrong?

Am i missing somthing here?


Last edited by Hotwire; 07-29-2003 at 05:43 PM.
 
Old 07-29-2003, 05:17 PM   #2
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
Look in /etc/xinet.d/telnet and see if bind = localhost is set

Rgds

Rus
 
Old 07-29-2003, 05:29 PM   #3
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
That is not there should i add it???
 
Old 07-29-2003, 05:31 PM   #4
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Bind isnt even there.
 
Old 07-29-2003, 05:37 PM   #5
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
this is what is there:

#default: on
# description: Telnet server serves telnet sessions; it uses \
# unencripted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /user/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}

That is what the file says in side.
 
Old 07-29-2003, 07:37 PM   #6
osprey0331
Member
 
Registered: Jul 2003
Location: California
Distribution: RH 7 and 8
Posts: 45

Rep: Reputation: 15
try looking at the services configuration to ensure the telnet is set for the proper runlevel, and also that you are trying to telnet as an allowed user. By default linux doens't allow root telnet sessions. Also, check the routing table for your ethernet adapter to ensure that it has been properly configured.
 
Old 07-29-2003, 07:48 PM   #7
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
thanks, im going to put analogx port mapper on the xp machine to help on that end, and iv done a complete re install of the linux system. I am going to try to do a complete system setup and see what happens from there. I also like to use webmin to help with the setup of that.
 
Old 07-29-2003, 09:07 PM   #8
osprey0331
Member
 
Registered: Jul 2003
Location: California
Distribution: RH 7 and 8
Posts: 45

Rep: Reputation: 15
webmin is what i use on my linux and unix systems...it seems to be the most user friendly and gives you the most flexibility. you should not have to have portmapper on the xp side, if you set up the routing tables on the linux system. is telnet set to run in run level 5? and what type of network are you running on...is it just the two systems or are you running more...there are several ways to handle the problem once the architecture is specified. be glad to offer some advice, if you would like.
 
Old 07-29-2003, 09:31 PM   #9
Hotwire
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
It is only the 2 systems, and it looks like this:

RH9-----XP------DSL----Internet.

No router, just nic to nic to usb dsl modem.

I dont know much about this sort of thing but am willing to learn
 
Old 07-29-2003, 11:57 PM   #10
osprey0331
Member
 
Registered: Jul 2003
Location: California
Distribution: RH 7 and 8
Posts: 45

Rep: Reputation: 15
ok, without the router or modem doing the dhcp style connectivity, you will need to modify the host files to include the name of the other...on the linux box, it will be in the /etc and in the xp, you will find it in the c:\windows\system32\drivers\etc directory. set up the NIC to look at the DSL connection as the gateway, and you should be in business. to recap

put the xp box in the linux's /etc/host file, and include the ip of the modem, and also list the linux box there as something other than localhost

put the same information in the c:\windows\system32\drivers\etc\hosts files

set both the NICS to use a subnet mask of 255.255.255.0 and a gateway of the DSL modem or hub.

you will need to make sure that the users are the same on both systems.

use webmin, set on port 10000 by default to configure samba, and in the case of your setup, simply let samba be the wins server, and it will see both systems.

hope this helps...let me know if you need any more help...glad to be of assistance
 
Old 07-30-2003, 01:22 AM   #11
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
this is what is there:

#default: on
# description: Telnet server serves telnet sessions; it uses \
# unencripted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /user/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}


Doesn't look as though telnet server is running

change the line
disable=yes
to
disable=no

restart xinetd

/etc/init.d/xinetd restart
 
  


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
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

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

All times are GMT -5. The time now is 08:05 PM.

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