Christopher Friedt | 1 Apr 18:47

emerge crossdev, but no crossdev?

Hi everyone,

I thought that maybe there was some strange reason for this, but when I 
emerge crossdev-0.9.17-r3, the actual crossdev script no longer exists 
on the system. Instead there is crossdev-stable. Reading crossdev-stable 
one finds that it is the crossdev script that one would expect to be 
named crossdev.
Mike Frysinger | 7 Apr 13:41
Picon
Favicon
Gravatar

Re: emerge crossdev, but no crossdev?

On Sunday 01 April 2007, Christopher Friedt wrote:
> I thought that maybe there was some strange reason for this, but when I
> emerge crossdev-0.9.17-r3, the actual crossdev script no longer exists
> on the system. Instead there is crossdev-stable. Reading crossdev-stable
> one finds that it is the crossdev script that one would expect to be
> named crossdev.

fixed in cvs ... you can either `mv` it yourself in /usr/sbin/ or just run 
`crossdev-stable` like normal

cheers
-mike
Jan Meier | 8 Apr 21:20

Error compiling sox (for asterisk) on a arm platform (nslu2)

Hello, 

when I try to compile media-sound/sox-13.0.0 on a nslu2 (arm platform with 
uclibc) I get the following error message:

(cd .libs && rm -f libst.la && ln -s ../libst.la libst.la)
/bin/sh ../libtool  --tag=CC   --mode=link 
armeb-softfloat-linux-uclibc-gcc  -Os -fsigned-char -Wall -W -Wmissing-prototypes
-Wstrict-prototypes -pedantic   -o 
sox sox.o libst.la -lm
armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes
-Wstrict-prototypes -pedantic -o .libs/sox 
sox.o  ./.libs/libst.so -lm
./.libs/libst.so: undefined reference to `logf'
collect2: ld returned 1 exit status
make[1]: *** [sox] Error 1
make[1]: Leaving directory `/var/tmp/portage/sox-13.0.0/work/sox-13.0.0/src'
make: *** [all-recursive] Error 1

Any ideas how I can fix this? Is it a problem with the uclibc? 
emerge --info has the following output: 

 emerge --info
Portage 2.0.51.22-r2 (default-linux/arm, gcc-4.1.2, uclibc-0.9.27-r0, 2.6.16 
armv5teb)
=================================================================
System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b)
Gentoo Base System release 1.12.9
distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port 
3632) [disabled]
(Continue reading)

Christopher Friedt | 8 Apr 23:18

Re: Error compiling sox (for asterisk) on a arm platform (nslu2)

It's a math function - the natural log in float format. It should be 
included in libm but since you're linking with -lm and still getting the 
error, I would assume that the math library in your uclibc has a feature 
missing or something.

You may have to upgrade the uclibc version.

~/Chris

Jan Meier wrote:
> Hello, 
> 
> when I try to compile media-sound/sox-13.0.0 on a nslu2 (arm platform with 
> uclibc) I get the following error message:
> 
> (cd .libs && rm -f libst.la && ln -s ../libst.la libst.la)
> /bin/sh ../libtool  --tag=CC   --mode=link 
> armeb-softfloat-linux-uclibc-gcc  -Os -fsigned-char -Wall -W -Wmissing-prototypes
-Wstrict-prototypes -pedantic   -o 
> sox sox.o libst.la -lm
> armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes
-Wstrict-prototypes -pedantic -o .libs/sox 
> sox.o  ./.libs/libst.so -lm
> ./.libs/libst.so: undefined reference to `logf'
> collect2: ld returned 1 exit status
> make[1]: *** [sox] Error 1
> make[1]: Leaving directory `/var/tmp/portage/sox-13.0.0/work/sox-13.0.0/src'
> make: *** [all-recursive] Error 1
> 
> Any ideas how I can fix this? Is it a problem with the uclibc? 
(Continue reading)

Jakub Ladman | 10 Apr 15:24
Picon

port forwarding as simple as possible

Hello

I have embedded linux system based on gentoo embedded.
This machine will be wheresoever and physicaly inaccessible.
There is dropbear ssh server and no ssh client.
The machine (a) may be connected to internet via NAT router with no 
possibility to forward any port to inside (gprs modem, gsm network and cheap 
sim, which has not public ip address). 

Sometimes i need to create an ip tunnel or a port forward like openssh does 
with -L or -R 

There is no need for encryption, i only need to append a script to crontab or 
something and this script, if launched, will use some program to create tcp 
connection to my server (b) with public ip.
From this time some port(s) of the server (b) will be redirected to machine 
(a)

Do i need to emerge openssh or some more simple method is known?

Thank you very much.

Jakub Ladman
PS: Hope that you understand my miserable english.
Natanael Copa | 10 Apr 15:31
Picon
Gravatar

Re: port forwarding as simple as possible

On Tue, 2007-04-10 at 15:24 +0200, Jakub Ladman wrote:
> Hello
> 
> I have embedded linux system based on gentoo embedded.
> This machine will be wheresoever and physicaly inaccessible.
> There is dropbear ssh server and no ssh client.
> The machine (a) may be connected to internet via NAT router with no 
> possibility to forward any port to inside (gprs modem, gsm network and cheap 
> sim, which has not public ip address). 
> 
> Sometimes i need to create an ip tunnel or a port forward like openssh does 
> with -L or -R 
> 
> There is no need for encryption, i only need to append a script to crontab or 
> something and this script, if launched, will use some program to create tcp 
> connection to my server (b) with public ip.
> From this time some port(s) of the server (b) will be redirected to machine 
> (a)
> 
> Do i need to emerge openssh or some more simple method is known?

Could this solve it? http://lartc.org/howto/lartc.tunnel.ip-ip.html

Otherwise you have openvpn, tinc.

Natanael Copa

Christian Nygaard | 10 Apr 15:44
Picon

Re: port forwarding as simple as possible



On 4/10/07, Natanael Copa <natanael.copa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Tue, 2007-04-10 at 15:24 +0200, Jakub Ladman wrote:
> Hello
>
> I have embedded linux system based on gentoo embedded.
> This machine will be wheresoever and physicaly inaccessible.
> There is dropbear ssh server and no ssh client.
> The machine (a) may be connected to internet via NAT router with no
> possibility to forward any port to inside (gprs modem, gsm network and cheap
> sim, which has not public ip address).
>
> Sometimes i need to create an ip tunnel or a port forward like openssh does
> with -L or -R


You could also use stunnel

//Christian
Jakub Ladman | 10 Apr 15:50
Picon

Re: port forwarding as simple as possible

This (http://lartc.org/howto/lartc.tunnel.ip-ip.html) seems to be unusable if 
one side has not public address :-(

Dne úterý 10 duben 2007 15:31 Natanael Copa napsal(a):
> On Tue, 2007-04-10 at 15:24 +0200, Jakub Ladman wrote:
> > Hello
> >
> > I have embedded linux system based on gentoo embedded.
> > This machine will be wheresoever and physicaly inaccessible.
> > There is dropbear ssh server and no ssh client.
> > The machine (a) may be connected to internet via NAT router with no
> > possibility to forward any port to inside (gprs modem, gsm network and
> > cheap sim, which has not public ip address).
> >
> > Sometimes i need to create an ip tunnel or a port forward like openssh
> > does with -L or -R
> >
> > There is no need for encryption, i only need to append a script to
> > crontab or something and this script, if launched, will use some program
> > to create tcp connection to my server (b) with public ip.
> > From this time some port(s) of the server (b) will be redirected to
> > machine (a)
> >
> > Do i need to emerge openssh or some more simple method is known?
>
> Could this solve it? http://lartc.org/howto/lartc.tunnel.ip-ip.html
>
> Otherwise you have openvpn, tinc.
>
>
> Natanael Copa
Jakub Ladman | 10 Apr 16:01
Picon

Re: port forwarding as simple as possible

Thank you i will look if i can build it with dummy (none) encryption, as i 
want to use it for allready encrypted data transfer.
Second encryption is bad because it will enlarge data.

I prefer small and compact program. 

Jakub 

Dne úterý 10 duben 2007 15:44 Christian Nygaard napsal(a):
> On 4/10/07, Natanael Copa <natanael.copa@...> wrote:
> > On Tue, 2007-04-10 at 15:24 +0200, Jakub Ladman wrote:
> > > Hello
> > >
> > > I have embedded linux system based on gentoo embedded.
> > > This machine will be wheresoever and physicaly inaccessible.
> > > There is dropbear ssh server and no ssh client.
> > > The machine (a) may be connected to internet via NAT router with no
> > > possibility to forward any port to inside (gprs modem, gsm network and
> >
> > cheap
> >
> > > sim, which has not public ip address).
> > >
> > > Sometimes i need to create an ip tunnel or a port forward like openssh
> >
> > does
> >
> > > with -L or -R
>
> You could also use stunnel
>
> //Christian
Ned Ludd | 10 Apr 18:25
Picon
Favicon

Re: port forwarding as simple as possible

On Tue, 2007-04-10 at 16:01 +0200, Jakub Ladman wrote:
> Thank you i will look if i can build it with dummy (none) encryption, as i 
> want to use it for allready encrypted data transfer.
> Second encryption is bad because it will enlarge data.
> 
> I prefer small and compact program. 

This should meet your criteria.

net-misc/datapipe bind a local port and connect it to a remote socket

Usage: datapipe localhost localport remotehost remoteport

It's compiled size ranges from 4.3K to 9K

--

-- 
Ned Ludd <solar@...>
Gentoo Linux


Gmane