Networking :: How to network two dsl machines?



That seemed to do the trick - thanks.

After starting ssh via the control panel on the dsl desktop, I did this on the dsl laptop:
Code Sample
$ sudo modprobe fuse
$ sudo sshfs -o allow_other root@192.168.1.100:/mnt/sdb4/dslshare /mnt/dslshare
root@192.168.1.100's password: xxxx
$
This allowed rw access to the dsl desktop share for user dsl on the laptop.

One down, one to go - my usb printer is attached to the dsl desktop as cups printer OfficeJetG85. I tried to add this as a printer in cups on the dsl laptop using an ipp address of the form:

ipp://192.168.1.100:631/OfficeJetG85

..and many variants, but no luck. Has anybody had any sucess with this?

Finally google came up with some modifications for /etc/cupsd.conf on the client and the server and - this was really impressive - without me doing anything, the printer on the dsl desktop was added to the available printers in cups admin on the dsl laptop. I'm sure this configuration is not the best from a security standpoint, but in case anybody finds it useful, then here it is. BTW the auto-added address was ipp://192.168.1.100:631/printers/OfficeJetG85.

/etc/cupsd.conf on the dsl laptop (client):
Quote
LogLevel info
RunAsUser Yes
Port 631
Listen localhost:631
Listen /opt/hplip/var/run/cups/cups.sock
   
   ### Which print servers to use
   BrowseOrder deny,allow
   BrowseDeny from All
   BrowseAllow from @LOCAL
   BrowseAllow from 192.168.1.*
   
   <Location />
   AuthType None
   Order Deny,Allow
   Deny From All
   Allow From @LOCAL
   </Location>
   
   <Location /jobs>
   AuthType None
   Order Deny,Allow
   Deny From All
   Allow From @LOCAL
   </Location>
   
   <Location /printers>
   AuthType None
   Order Deny,Allow
   Deny From All
   Allow From @LOCAL
   </Location>
   
   <Location /admin>
   AuthType None
   Order Deny,Allow
   Deny From All
   Allow From @LOCAL
   </Location>


/etc/cupsd.conf on the dsl desktop with printer attached:
Quote
LogLevel info
Port 631
Listen /opt/hplip/var/run/cups/cups.sock
Listen 192.168.1.100:631
Listen localhost:631
Browsing On
BrowseAddress @LOCAL
BrowseAddress 192.168.1.255
BrowseAddress 192.168.1.*

<Location />
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
</Location>

<Location /jobs>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
</Location>

<Location /printers>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
</Location>

<Location /admin>
 AuthType Basic
 AuthClass System
 Allow From 127.0.0.1
 Order Deny,Allow
 Deny From All
</Location>


original here.