Networking Forums

Networking Forums > Computer Networking > Linux Networking > Block device over the network

Reply
Thread Tools Display Modes

Block device over the network

 
 
daniele_athome
Guest
Posts: n/a

 
      07-04-2005, 01:17 PM
Hi all. I have a problem: I want to export over the network the block
device /dev/ttyS0 to use it as 'remote modem' from another machine,
connected to the server via ethernet. I've already tried nfs-user-server
(cannot read or write to the block device) and nbd-server/client (nothing
happens with this). I modified permissions (777) on the block device also,
but the problem remains.

Can someone help me?
bye
--
daniele_athome
 
Reply With Quote
 
 
 
 
Robert
Guest
Posts: n/a

 
      07-05-2005, 05:36 AM
daniele_athome wrote:

> Hi all. I have a problem: I want to export over the network the block
> device /dev/ttyS0 to use it as 'remote modem' from another machine,
> connected to the server via ethernet. I've already tried nfs-user-server
> (cannot read or write to the block device) and nbd-server/client (nothing
> happens with this). I modified permissions (777) on the block device also,
> but the problem remains.
>
> Can someone help me?
> bye

You failed to mention the network type.. samba is an option that works well
with smb4k

 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      07-05-2005, 07:57 AM
daniele_athome <(E-Mail Removed)> wrote:
> I want to export over the network the block device /dev/ttyS0 [...]


ls -l /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Jul 5 08:33 /dev/ttyS0

On my box this is a character device (which is to be expected for a
serial line).


> I've already tried nfs-user-server (cannot read or write to the
> block device)


NFS is for "real" files, and doesn't do anything with device nodes


> and nbd-server/client (nothing happens with this)


Possibly because NBD is for block devices, and ttyS0 is a character
device?


> Can someone help me?


Did you look at google? I entered "share modem device linux" and the very
first result was a link to the Modem Sharing mini-HOWTO, which explains
a simple way of resolving your problem.

Chris
 
Reply With Quote
 
daniele_athome
Guest
Posts: n/a

 
      07-05-2005, 10:29 AM
chris-(E-Mail Removed) wrote:

> daniele_athome <(E-Mail Removed)> wrote:
>> I want to export over the network the block device /dev/ttyS0 [...]

>
> ls -l /dev/ttyS0
> crw-rw---- 1 root dialout 4, 64 Jul 5 08:33 /dev/ttyS0
>
> On my box this is a character device (which is to be expected for a
> serial line).
>
>
>> I've already tried nfs-user-server (cannot read or write to the
>> block device)

>
> NFS is for "real" files, and doesn't do anything with device nodes
>
>
>> and nbd-server/client (nothing happens with this)

>
> Possibly because NBD is for block devices, and ttyS0 is a character
> device?
>
>
>> Can someone help me?

>
> Did you look at google? I entered "share modem device linux" and the very
> first result was a link to the Modem Sharing mini-HOWTO, which explains
> a simple way of resolving your problem.
>
> Chris


Oh, I found a solution: I share the internet connection, instead of sharing
the modem

thank you anyway
--
daniele_athome
 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      07-05-2005, 07:57 PM
daniele_athome <(E-Mail Removed)> wrote:
> I want to export over the network the block device /dev/ttyS0 [...]


daniele_athome <(E-Mail Removed)> wrote:
> Oh, I found a solution: I share the internet connection, instead of
> sharing the modem


They are totally different requirements, both of which have their uses.

As a suggestion for the next time you post, please tell us what you
really want to achieve (and not particularly how you want to do it).

Regards,
Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sort of Network Block Device, open, simple, and especiallycross-platform? gst Linux Networking 1 04-07-2009 12:14 AM
How to block network popups? v.srikar@gmail.com Windows Networking 0 10-28-2006 03:36 PM
Block usage of neighbors network. jsanchez Wireless Networks 3 01-27-2005 12:04 AM
Network Block Device on Fedora FC1 Dusan Bolek Linux Networking 0 04-22-2004 08:16 AM
Network device is gone -no such device Bryce Linux Networking 1 04-21-2004 05:53 PM



1 2 3 4 5 6 7 8 9 10 11