GSplus Uthernet emulation on Linux...root required? [message #387222] |
Fri, 20 September 2019 21:21 |
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 |
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 |
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?
|
|
|
|