Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » GSplus Uthernet emulation on Linux...root required?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
GSplus Uthernet emulation on Linux...root required? [message #387222] Fri, 20 September 2019 21:21 Go to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
I knocked together a Gentoo ebuild for GSplus yesterday...already had one
for GSport (and an even older one for KEGS), so it just needed a few tweaks
and declaration of some dependencies.

It's up and running ROM 3 firmware and System 6.0.4, with Uthernet emulation
enabled in settings. I've installed Marinetti and the Uthernet link layer.
It seems, though, that it won't connect to the network if it's running as a
normal user. When I run it as root, it'll connect. Is GSplus intended to
be run as setuid root, or is there some permission that needs tweaking
somewhere?

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
Re: GSplus Uthernet emulation on Linux...root required? [message #387331 is a reply to message #387222] Tue, 24 September 2019 19:56 Go to previous messageGo to next message
kelvin is currently offline  kelvin
Messages: 49
Registered: May 2013
Karma: 0
Member
You should be able to use the linux capabilities system.
eg: sudo setcap cap_net_raw,cap_net_admin=eip /usr/local/bin/gsplus
or something like that.

In <qm3tuj$rbh$1@dont-email.me>
scott@alfter.diespammersdie.us (Scott Alfter) writes:

> I knocked together a Gentoo ebuild for GSplus yesterday...already had one
> for GSport (and an even older one for KEGS), so it just needed a few tweaks
> and declaration of some dependencies.
>
> It's up and running ROM 3 firmware and System 6.0.4, with Uthernet emulation
> enabled in settings. I've installed Marinetti and the Uthernet link layer.
> It seems, though, that it won't connect to the network if it's running as a
> normal user. When I run it as root, it'll connect. Is GSplus intended to
> be run as setuid root, or is there some permission that needs tweaking
> somewhere?
>
> _/_
> / v \ Scott Alfter (remove the obvious to send mail)
> (IIGS( https://alfter.us/ Top-posting!
> \_^_/ >What's the most annoying thing on Usenet?

-------
ProLine: kelvin@pro-kegs
Re: GSplus Uthernet emulation on Linux...root required? [message #387354 is a reply to message #387331] Wed, 25 September 2019 16:40 Go to previous messageGo to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
In article <qme8b8$j34$1@dont-email.me>,
Kelvin Sherlock <kelvin@pro-kegs.uucp> wrote:
> In <qm3tuj$rbh$1@dont-email.me>
> scott@alfter.diespammersdie.us (Scott Alfter) writes:
>> It's up and running ROM 3 firmware and System 6.0.4, with Uthernet emulation
>> enabled in settings. I've installed Marinetti and the Uthernet link layer.
>> It seems, though, that it won't connect to the network if it's running as a
>> normal user. When I run it as root, it'll connect. Is GSplus intended to
>> be run as setuid root, or is there some permission that needs tweaking
>> somewhere?
>
> You should be able to use the linux capabilities system.
> eg: sudo setcap cap_net_raw,cap_net_admin=eip /usr/local/bin/gsplus
> or something like that.

You learn something new every day...don't think I've ever heard of setcap,
but I applied that after chmod u-s, and it got a DHCP lease from the router
when it started up. I'll need to fix my ebuild accordingly. Thanks!

(Still need to get my netatalk 2.x config dialed in again so that it'll
support Apple II clients...might just dig into the A2Server image to see how
it's configured.)

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
Re: GSplus Uthernet emulation on Linux...root required? [message #387485 is a reply to message #387222] Tue, 01 October 2019 20:34 Go to previous message
Anonymous
Karma:
Originally posted by: vavruska

It has to do with the pcap driver needing the root auth to turn on promiscuous mode.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Total Replay with FastChip, VidHD, CFFA ?
Next Topic: ISO Manual for Mouse Desk 2.0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 07:01:44 EDT 2024

Total time taken to generate the page: 0.08355 seconds