LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-12-2004, 08:12 AM   #16
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32

yer i think it is

so you are saying i would have to punch a hole through it ?

TT
 
Old 05-12-2004, 08:16 AM   #17
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
sorry i cannot understand. im not good enough at english. what do u mean?
 
Old 05-12-2004, 08:19 AM   #18
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
Quote:
i think u have enabled firewall in linux box
make a hole in the firewall..is what i meant to say

I turn off my Xp firewall and i still cant log into tinysofa PC using putty, sshd is on.

TT
 
Old 05-12-2004, 08:31 AM   #19
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
Quote:
i think u have enabled firewall in linux box. so it refuses connections comes from xp box. as i understand u r in secure network. so stop it. stop iptables (firewall).
#/etc/rc.d/init.d/iptables stop

it wont work every bootup
#chkconfig --level 35 iptables off
the path on tinysofa is /etc/init.d/iptables

and i still get this from Xp using putty to log into tinysofa PC

login as: root
root@192.168.0.28's password:
Access denied
root@192.168.0.28's password:

TT
 
Old 05-12-2004, 08:34 AM   #20
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
who can attack your linux? it has a only one connection to xp. and it can only access internet via NAT (via XP). so it is in already secure network. it doesnt have any network interface which conneted to internet directly.

but its up to u. try to configure your firewall to allow all connections come from xp.
i hope the fallowing works.
#iptables -A INPUT -s 192.168.0.1 -j ACCEPT
 
Old 05-12-2004, 08:37 AM   #21
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
I see what you mean

On my another PC i was using the GUI to trust Xp to access my other linux box..

I'll give it ago

TT
 
Old 05-12-2004, 08:43 AM   #22
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
wied stuff i get errors on both

I did what you said
#iptables -A INPUT -s 192.168.0.1 -j ACCEPT

Then i restarted iptables

then tried putty and WinSCP3

and no go ( Access denied )

I want to beable to access the tinysofa PC from XP using putty and WinSCP3 because its screen is on its way out...

I dont use a mouse only a key board and the CLI command line only not many GUI's on this box..

TT

Last edited by tommytomato; 05-12-2004 at 08:47 AM.
 
Old 05-12-2004, 08:51 AM   #23
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
u better try fedora's default firewall configuration tool.
type
#setup
then choose firewall config tool and then open tcp 22 port.
 
Old 05-12-2004, 08:56 AM   #24
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
my Fedora is ok..

that one goes into my DSL unit..

TT
 
Old 05-12-2004, 01:19 PM   #25
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Quote:
Originally posted by tommytomato
on boot up i get this error
Bringing up interface eth0: modprode: Note /etc/modules.conf is more recent than / lib/modules/2.4.26-5tsfirewall/modules.dwp.
You could leave it as is...or
touch / lib/modules/2.4.26-5tsfirewall/modules.dwp
would set the time stamp to this file and no more error message would be issued.

And BTW if you obtained

Quote:
login as: root
root@192.168.0.28's password:
Access denied
root@192.168.0.28's password:
It's because youre firewall let you pass trough and Lnx is answering... Try to ssh with no root user and a valide password

Last edited by LuggerHouse; 05-12-2004 at 01:23 PM.
 
Old 05-12-2004, 11:14 PM   #26
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
Thank you guys things are on a roll

Just thinking about it
( #iptables -A INPUT -s 192.168.0.1 -j ACCEPT )

wouldn't I have to put in as well or even on its own for me to access the tiny sofa box from XP using
putty or using WinSCP3

( #iptables -A INPUT -s 192.168.1.10 -j ACCEPT )

Because i still cant get to it..



TT
 
Old 05-13-2004, 01:18 AM   #27
bullshit
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
Hi there:
Iīve similar problem when instlling my Mandrake Box and turned out that if you are runing linux secure mode, the host doesnīt respond to the ping command not to localhost anyway. There is a conf file file refering to this but I don't remember which one.

Hope this helps
 
Old 05-13-2004, 01:33 AM   #28
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
/etc/hosts /etc/hosts.allow /etc/hosts.deny
 
Old 05-13-2004, 01:36 AM   #29
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
thank you i'll have a look

I did try this and no go

( #iptables -A INPUT -s 192.168.1.10 -j ACCEPT )


TT
 
Old 05-13-2004, 01:40 AM   #30
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
/etc/hosts /etc/hosts.allow /etc/hosts.deny
are blank files on my OS

using Tiny Sofa

TT
 
  


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-13-2005 11:03 PM
can't ping linux box jammy3 Linux - Newbie 3 12-03-2004 11:33 AM
Cannot ping the linux box amirbhai Linux - Networking 4 06-25-2004 04:43 PM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 01:26 AM

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

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