Newbie to Linux. Need a few networking questions answered

Audiofight

Platinum Member
May 24, 2000
2,891
0
71
I finally took the plunge and have a Red Hat 7.2 box sitting next to my left foot and my XP box sitting next to my right.

I am using a Linksys Etherfast Cable/DSL router w/ built-in 10/100 4 port switch for my networking connection. My Linux box logs-in to my router flawlessly. My XP box is fighting my with it of course (Windows based anything never works easily)

I am also using a Linksys 2 port KVM for all my controls.

I have installed Red Hat and everything works fine, or so it seems. I have tried to use Samba so I can see my Linux box on my Windows machine, but am having difficulty getting SWAT to work. I am very new to Linux, so there is my problem there.

My biggest problem is the fact that I can't share my internet connection or see my Linux box from my Windows box. I have tried to re-configure the internet sharing properties multiple times and still can't get the network connection between the two to work.

Any advice will be greatly appreciated. Thanks.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
If you have a linksys router, you should not need to setup any internet sharing on either computer. Just make sure they have different ip addresses and the linksys as the default route.

There should be a FAQ on SAMBA. Without knowing what exactly you are having problems with I cannot/will not help.
 

Audiofight

Platinum Member
May 24, 2000
2,891
0
71
Alright. The Samba questions I am still looking into answering myself. I will be reading the FAQs over there later this evening at work. I installed Samba when I installed Red Hat initially. I then tried to use these commands:

chkconfig xinetd on
chkconfig swat on

Then:

service xientd reload

This would turn tell xientd to start SWAT, then it tells SWAT to turn on and then reload xientd to re-start applying the changes. Well, it tells me that SWAT isn't installed, but under the RPM manager, all the Samba packages are installed. So, I don't really have a clue as to what to try there (thus, the Linux newbie comment I started this whole thing with)

Now, The Router.

I am trying to smack my router into thinking it is nothing more than a 10/100 switch for now. I won't have my cable modem until next month, so I need just the switch aspect of the router till then.

I have turned off DHCP in the router's settings, but still can't get connectivity through the network from the XP box that is connected w/ internet connection sharing turned on for all network users to use to my Linux box. I can't even talk to the router period through the XP box, only through the Linux box. I am beginning to think that the cable I am using is my problem and will try to find a different one tonight to swap in its place for testing purposes.
 

UrbanAchiever

Junior Member
Oct 30, 2002
7
0
0
dude, forget about swat, thats for people who can't type
first off, if you have the smb rpms installed, to see windows shares from linux:
type 'man smbmount' and that will tell you what do do next
to have windows see linux drives forget about SWAT,

and read that
Redhat Samba step by step

hope this helps
 

Audiofight

Platinum Member
May 24, 2000
2,891
0
71
Thanks for the help and link. I am reading it right now.

I was considering using SWAT simply b/c I didn't have a good referrence like this about Samba. Now, I do.

Thanks again. Now, to figure out that damn router.
 

FUBAR

Senior member
Oct 11, 1999
618
0
0
In case you haven't found it already, your problem is most definately that SWAT isn't enabled in xinetd. SWAT, and many of the other services are run by the xinetd super-server rather than running as their own standalone daemons. What you need to do is go into /etc/xinet.d and edit the file called swat. There will be a line that says

disable=yes
and
allow from = 127.0.0.1

Comment both of those out ( with #) , save and reload xinetd:
/etc/init.d/xinetd reload

Then go to your windows box and do a http://serverip:901

Kapish?