Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213442 - net-misc/freenet6 depends on iproute2
Summary: net-misc/freenet6 depends on iproute2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 21:15 UTC by Barry Gear
Modified: 2008-05-26 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Gear 2008-03-14 21:15:40 UTC
Freenet6 requires iproute2 to work. I emerged 4.x, 5, and 5.1 on amd64 and none of them worked until i emerged iproute2. After that, worked no prob.

Reproducible: Always

Steps to Reproduce:
1.emerge freenet6 <without iproute2 installed>
2./etc/init.d/gw6c start
3.
Comment 1 Bernard Cafarelli gentoo-dev 2008-03-18 12:44:42 UTC
Do you use special settings in /etc/freenet6/gw6c.conf? I have tested with a default configuration file (both anonymous and authentificated), and it worked without iproute2

Also, which error messages do you get? (or incorrect behavoir, ie does the tun interface appear?)
Comment 2 Barry Gear 2008-03-19 16:01:15 UTC
(In reply to comment #1)
> Do you use special settings in /etc/freenet6/gw6c.conf? I have tested with a
> default configuration file (both anonymous and authentificated), and it worked
> without iproute2
> 
> Also, which error messages do you get? (or incorrect behavoir, ie does the tun
> interface appear?)
> 
I was in the process of following the gentoo ipv6 guide http://www.gentoo.org/doc/en/ipv6.xml. I went to the freeweb site and made an account and set my username/password/server to use authentication. You are corrent in that I didnt try it anonymously. 
The error comes from the linux.sh script:

2008/03/19 08:59:47 gw6c: --- Start of configuration script. ---
2008/03/19 08:59:47 gw6c: Script:  linux.sh
2008/03/19 08:59:47 gw6c: sit1 setup
2008/03/19 08:59:47 gw6c: Setting up link to 64.86.88.117
2008/03/19 08:59:47 gw6c: /sbin/ifconfig sit1 tunnel ::64.86.88.117
2008/03/19 08:59:47 gw6c: Error while executing /sbin/ifconfig
2008/03/19 08:59:47 gw6c:    Command: /sbin/ifconfig sit1 tunnel ::64.86.88.117
2008/03/19 08:59:47 gw6c: Script failed to execute correctly.
2008/03/19 08:59:47 gw6c: Interface setup (running the template linux) failed. Quitting.
2008/03/19 08:59:47 gw6c: Last error is 4: INTERFACE_SETUP_FAILED.
2008/03/19 08:59:47 gw6c: Quitting.

BTW I retested with anonymous settings without iproute and got the same error.
Comment 3 Barry Gear 2008-03-19 16:02:54 UTC
And yes, tun was loaded, from dmesg:

tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Comment 4 Bernard Cafarelli gentoo-dev 2008-03-19 22:33:58 UTC
Ah I see now. The linux.sh is a template script generic to all Linux systems. On Gentoo you don't need to run it, just use the init script (/etc/init.d/gw6c).

Btw I need to update this guide, as it still speaks about the 'tspc' client
Comment 5 Bernard Cafarelli gentoo-dev 2008-05-26 14:00:34 UTC
Guide update request done in bug #223691, all done here! Thanks for the report