You are not logged in.

#1 2011-10-08 10:28:11

vaccaaa
Member
Registered: 2011-04-20
Posts: 20

Firestarter and iptstate broken after net-tools update

Hello everybody,

Firestarter, after net-tools update to 1.60.20110819cvs-1, began giving me this message:

The device wlan0 is not ready. Please check your network device settings and make sure your Internet connection is active.

As well, iptstate began to display no connection, even if I was surfing the internet...

The workaround is to downgrade net-tools from 1.60.20110819cvs-1 to 1.60-18

I didn't investigate the changes in net-tools yet, I will when i have some spare time! smile

Hoping for some kind of patch or solution wink

Last edited by vaccaaa (2011-10-08 10:47:04)

Offline

#2 2011-10-08 13:03:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Firestarter and iptstate broken after net-tools update

Just a wild guess: try updating net-tools again and install inetutils - see if this works.

Offline

#3 2011-10-09 12:03:40

vaccaaa
Member
Registered: 2011-04-20
Posts: 20

Re: Firestarter and iptstate broken after net-tools update

Sorry I forgot to mention that I reverted inetutils to 1.8.3 from 1.8.5, too... I didn't think that package was related in any way until I read about "Hostname utility moved from net-tools to inetutils".
So I think the moving of that utility is related to the problem I have in some way... But I don't know how could that be...!
Does somebody have the same problem of mine?
Thank you!!

Last edited by vaccaaa (2011-10-09 12:04:06)

Offline

#4 2011-10-09 12:17:53

vaccaaa
Member
Registered: 2011-04-20
Posts: 20

Re: Firestarter and iptstate broken after net-tools update

I think I had an idea...

It may be that in the old net-tools the hostname utility was located in /bin/hostname, while in the new inetutils it is located in /usr/bin/hostname.
So is possible that every program that has that location hardcoded (at least, "I think" has it hardcoded, because recompiling doesn't work...) has problems...
The funny part is that there's already a link to hostname in /bin that points to /usr/bin/hostname... HELP!

What solution can we find to this?? sad

Last edited by vaccaaa (2011-10-09 22:51:02)

Offline

#5 2011-10-09 14:11:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Firestarter and iptstate broken after net-tools update

vaccaaa wrote:

It may be that in the old net-tools the hostname utility was located in /bin/hostname, while in the new inetutils it is located in /usr/bin/hostname.

http://www.archlinux.org/packages/core/i686/inetutils/
inetutils provides /bun/hostname.

Offline

#6 2011-10-09 22:42:52

vaccaaa
Member
Registered: 2011-04-20
Posts: 20

Re: Firestarter and iptstate broken after net-tools update

karol wrote:

No, it provides a symlink, located in /bin/hostname, to the new hostname utility, located in /usr/bin/hostname... Look in /bin and you'll see smile

Offline

#7 2011-10-09 22:46:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Firestarter and iptstate broken after net-tools update

vaccaaa wrote:
karol wrote:

No, it provides a symlink, located in /bin/hostname, to the new hostname utility, located in /usr/bin/hostname... Look in /bin and you'll see smile

Ah, now I get what you meant by

vaccaaa wrote:

The funny part is that there's already a link to hostname in /bin that points to /usr/bin/hostname... HELP!

Offline

#8 2011-10-10 15:55:03

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Firestarter and iptstate broken after net-tools update

It was the change in ifconfig's output.  A quick fix is to modify your /etc/firestarter/firestarter.sh changing the following lines:

# External network interface data
IP=`/sbin/ifconfig $IF | grep inet | tr -s ' ' | cut -d \  -f 3`
MASK=`/sbin/ifconfig $IF | grep netmask | tr -s ' ' | cut -d \  -f 5`
BCAST=`/sbin/ifconfig $IF | grep broadcast | tr -s ' ' | cut -d \  -f 7`
NET=$IP/$MASK

if [ "$NAT" = "on" ]; then
	# Internal network interface data
	INIP=`/sbin/ifconfig $INIF | grep inet | tr -s ' ' | cut -d \  -f 3`
	INMASK=`/sbin/ifconfig $INIF | grep netmask | tr -s ' ' | cut -d \  -f 5`
	INBCAST=`/sbin/ifconfig $INIF | grep broadcast | tr -s ' ' | cut -d \  -f 7`
	INNET=$INIP/$INMASK
fi

Note that this file gets overwritten when you run the wizard.

Offline

#9 2011-10-13 15:46:27

vaccaaa
Member
Registered: 2011-04-20
Posts: 20

Re: Firestarter and iptstate broken after net-tools update

@biloky

Thank you so much! I'll try to modify that file as soon as possible to test smile
Sadly firestarter is a dead project... So I think I should write some kind of patch now to make firestarter work in future versions of arch... I'll do that when I have some spare time smile
Talking about iptstate... I think the best solution is to inform them about the upcoming change in ifconfig program to make them prepared when it comes out (our ifconfig now is in fact a cvs version...)
I'll add SOLVED tag when the two tasks above are done smile
Cheers wink

Offline

#10 2011-10-16 11:40:23

jdn06
Member
Registered: 2010-02-01
Posts: 67

Re: Firestarter and iptstate broken after net-tools update

@biloky
It worked for me; thanks!

Last edited by jdn06 (2011-10-16 11:41:02)

Offline

Board footer

Powered by FluxBB