Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Linux Home Network

Linux Home Network 10 years 5 months ago #15293

  • Ranger24
  • Ranger24's Avatar
  • Offline
  • Distinguished Member
  • Posts: 145
  • Karma: 0
Hi,

I have 2 linux boxes connected to a linksys router which in turn is connected to my cable line.

I'd like to be able to share files and printers between the to pcs but so far cannot get them to even ping each other.

Both are on the same subnet, and the router is set as the default gateway.

I have guarddog installed on both machines, and think this is configured correctly.

Any advice?

R

Patience - the last reserve of the any engineer
The administrator has disabled public write access.

Re: Linux Home Network 10 years 5 months ago #15294

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
hello,

For start try to disable the IPTables firewall on both systems. There should be a control script at the /etc/init.d, so you would give something like "/etc/init.d/iptables stop". Or perhaps you can stop it through the Guaddog's interface. Or, finally, you can just allow everything by issuing
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F -t nat
iptables -F -t filter
iptables -X

Also, is there some ICMP message returned when you try to contact each other host or packets are silently dropped?
The administrator has disabled public write access.

Re: Linux Home Network 10 years 5 months ago #15305

  • Ranger24
  • Ranger24's Avatar
  • Offline
  • Distinguished Member
  • Posts: 145
  • Karma: 0
Thanks Nske,

Rules on Guarddog are now correct and Pinging between statiopns works! Now I just need help sharing files & printers!

br

R

Patience - the last reserve of the any engineer
The administrator has disabled public write access.

Re: Linux Home Network 10 years 5 months ago #15312

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
If you wish to share files and printers with windows hosts as well, SAMBA is your only real choise. Otherwise, for sharing between UNIX hosts, CUPS for printer sharing and NFS for filesharing would perform better and propably more reliably.

- Here's a topic with short instructions for installing samba

- For NFS check the NFS howto

- CUPS might prove the toughest beast of the three for start, as it depends very much on your Printer's compatibility. For some useful information take a look at printing howto. As long as your printer (or a similar model) is supported the installation procedure is as following:

1) You install CUPS, preferably through your distribution's package manager.
2) You start cupsd, i.e. "/etc/init.d/cupsd start"
3) You visit http://127.0.0.1:631 through a web browser (local firewall should allow it).
4) You follow the "add printer" wizzard there, selecting an appropriate name and .PPD file for your printer, driver-specific options, and CUPS access permissions.

The printer should be available right after that, both to SAMBA for sharing (there are exact configuration instructions here), to the local host for printing and to remote hosts through IPP provided that you have "published" the printer and given the proper permissions, and you have also configured cups to the remote host (everything can be done quite easily through the wizzard interfaces of cupsd).

Give it a try and let us know about any difficulty!
The administrator has disabled public write access.
Time to create page: 0.077 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup