Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
netplugd + baselayout-1.12.x + preup function [solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed Oct 19, 2005 4:34 pm    Post subject: Reply with quote

UberLord wrote:
seppelrockt wrote:
When your three patches make in in SVN then baselayout will depend on wpa_supplicant >= 0.4.5 (older versions have some problems with wired interfaces still), right? This meants on the way to stabilize baselayout-1.12.x it's also important to stabilize the wpa_supplicant-0.4.5 (or greater).


0.3.x will still work - you just can't run it on more than one interface. So technically, we don't need to stable 0.4.x with baselayout-1.12


OK, same for wired LAN - if you don't need it, you can stick with 0.3.x - if you want it you have to use the keyworded 0.4.5. Maybe you can point that out when the next version bump is done for baselayout in the changelog - just to prevent wrong complaints and bug reports (in case anybody else then me needs this features).
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed Oct 19, 2005 9:03 pm    Post subject: Reply with quote

Tested the patch and IT WORKS (tm). I had to adjust the dhcp on eth1 (WLAN) to do nodns and nogateway so that the internet stuff in still routed trough eth0 but that was no problem with the power of baselayout (that is well documented in /etc/conf.d/net.example).

Thank you so much Uberlord!
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Thu Oct 20, 2005 6:17 am    Post subject: Reply with quote

Excellent news :)
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Thu Oct 20, 2005 7:02 am    Post subject: Reply with quote

Hmmm, is there a way to only use the dhcp_eth1="nodns nogateway" if

a) eth0 AND eth1 are both up and running or
b) eth1 is connected to a specific essid?

The result of both approaches would be the same: at home I have inet over LAN so everything must be routed over eth0. At university I use WLAN (LAN is not plugged) thus routing over eth1.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Thu Oct 20, 2005 7:59 am    Post subject: Reply with quote

Why don't you try RC_AUTO_INTERFACE="yes" and then see what happens to your routing table and /etc/resolv.conf with both interfaces active ;)
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
ripper_svk
n00b
n00b


Joined: 14 Nov 2003
Posts: 20

PostPosted: Thu Oct 20, 2005 9:35 am    Post subject: Reply with quote

i've used the patches and they work. thank you!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Thu Oct 20, 2005 7:51 pm    Post subject: Reply with quote

UberLord wrote:
Why don't you try RC_AUTO_INTERFACE="yes" and then see what happens to your routing table and /etc/resolv.conf with both interfaces active ;)


Sometimes life is so simple ;-) Works, great!
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Fri Oct 21, 2005 5:47 am    Post subject: Reply with quote

seppelrockt wrote:
UberLord wrote:
Why don't you try RC_AUTO_INTERFACE="yes" and then see what happens to your routing table and /etc/resolv.conf with both interfaces active ;)


Sometimes life is so simple ;-) Works, great!


With RC_AUTO_INTERFACE="yes" you get the Gentoo equivalent of NetworkManager minus the shiny GUI. And unlike NetworkManager, we actually work :)
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Fri Oct 21, 2005 3:59 pm    Post subject: Reply with quote

Uberlord, if you have a minute time or two, could you please visite this post cause it might be related to baselayout 1.12.x? Thanks in advance!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Tue Nov 08, 2005 11:49 pm    Post subject: Reply with quote

I tested the long awaited baselayout 1.12.0_pre10 and the patches made it in there exept the patch for multible wpa_supplicant.conf files that can be specified from within /etc/conf.d/net for every interface.

I hope you just forgot it and it will make into the _pre11 or even a fast _pre10-r1.

OT: I tried the PARALLEL_INIT thing or what it's called and the "serial" service can not be started at all. I wonder why I need this at all (it never came into my view before). Can I savely remove it from boot?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Wed Nov 09, 2005 7:17 am    Post subject: Reply with quote

seppelrockt wrote:
I tested the long awaited baselayout 1.12.0_pre10 and the patches made it in there exept the patch for multible wpa_supplicant.conf files that can be specified from within /etc/conf.d/net for every interface.

I hope you just forgot it and it will make into the _pre11 or even a fast _pre10-r1.


Whups! I lost the patch as well - do you still have it to save me from writing it?

Quote:
OT: I tried the PARALLEL_INIT thing or what it's called and the "serial" service can not be started at all. I wonder why I need this at all (it never came into my view before). Can I savely remove it from boot?


You can safely remove it - the serial init script has been moved to the serial package and is no longer in baselayout
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed Nov 09, 2005 8:10 am    Post subject: Reply with quote

UberLord wrote:
seppelrockt wrote:
I tested the long awaited baselayout 1.12.0_pre10 and the patches made it in there exept the patch for multible wpa_supplicant.conf files that can be specified from within /etc/conf.d/net for every interface.

I hope you just forgot it and it will make into the _pre11 or even a fast _pre10-r1.


Whups! I lost the patch as well - do you still have it to save me from writing it?


Here you go: wpa_supplicant-multiple.patch and wpa_supplicant-conf.patch

Friendly reminder: Did you change your mind about the error message when the timeout for an interface is set to -1? I still belive a simple "backgrounding ..." message is the better way to go ;-)
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Wed Nov 09, 2005 10:03 am    Post subject: Reply with quote

Thanks for that - they are definitely comitted to our tree now :)
I have changed the message to a simple einfo "Backgrounding ..." and we now default to a -1 timeout :)

I'll probably include this in a -r1 sometime soon
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Wed Nov 09, 2005 11:45 am    Post subject: Reply with quote

Here's a patch that should apply cleanly to pre10
http://dev.gentoo.org/~uberlord/baselayout/wpa_supplicant-mulitple-conf.patch

I'm waiting on a futher pppd patch from mrness before I roll a pre10-r1
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed Nov 09, 2005 8:52 pm    Post subject: Reply with quote

UberLord wrote:
Thanks for that - they are definitely comitted to our tree now :)
I have changed the message to a simple einfo "Backgrounding ..." and we now default to a -1 timeout :)
I'll probably include this in a -r1 sometime soon


Thanks, that's great news and all my wishes finaly came true ;-)

Regarding the updated patch, do you want me to check it again or is this not nessecary? I'm asking because I did a symlink as workaround for the wpa_supplicant.conf and so I am to lasy to patch the baselayout (have a lot to do for university atm). My workaround would be enough for the time until -r1 is out. But if you want feedback, I will test it again.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Thu Nov 10, 2005 7:08 am    Post subject: Reply with quote

Yeah, please try it just to make sure :)

Something else came up, so there will be an -r1, and probably before end of Friday
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Thu Nov 10, 2005 9:46 pm    Post subject: Reply with quote

UberLord wrote:
Yeah, please try it just to make sure :)

Something else came up, so there will be an -r1, and probably before end of Friday


Damn, you have been rooling out -r1 so fast that I didn't even had a chance to test the new patch. But given this patch is in the -r1 it's just fine, cause -r1 works great here. I guess I have to reboot just to see whether I see the "Backgrounding" message now ;-)

Ones again a BIG THANK YOU!
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Thu Nov 10, 2005 9:53 pm    Post subject: Reply with quote

Just be aware of this bug
http://bugs.gentoo.org/show_bug.cgi?id=112088

It's been present in the 1.12 branch for sometime, but the change to default -1 timeouts has exposed it a little :?
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Thu Nov 10, 2005 10:53 pm    Post subject: Reply with quote

UberLord wrote:
Just be aware of this bug
http://bugs.gentoo.org/show_bug.cgi?id=112088

It's been present in the 1.12 branch for sometime, but the change to default -1 timeouts has exposed it a little :?


I checked it on my system but I had to read the bug report twice to understand that they talk about net.ethX DEPENDEND services. Well, I do not have any of them and the interface itselve comes up nicely after restart.

My new idea is to write a vpnc module for baselayout during the next 2 weeks - do you think this is a good idea in general or may there be any problems? Maybe this is bloating baselayout to much?

Before I can start I have to solve some general problems here (not Gentoo related - vpnc often doesn't come up and says "authetification unsuccessful").
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6274
Location: Blighty

PostPosted: Thu Nov 10, 2005 11:06 pm    Post subject: Reply with quote

seppelrockt wrote:
My new idea is to write a vpnc module for baselayout during the next 2 weeks - do you think this is a good idea in general or may there be any problems? Maybe this is bloating baselayout to much?


What's wrong with a plain init script?
_________________
When baselayout tells you to update config files or things break WE REALLY DO MEAN IT

Please add SOLVED to the thread title if your issue has been
Strip comments from configs please
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Fri Nov 18, 2005 6:47 pm    Post subject: Reply with quote

UberLord wrote:
seppelrockt wrote:
My new idea is to write a vpnc module for baselayout during the next 2 weeks - do you think this is a good idea in general or may there be any problems? Maybe this is bloating baselayout to much?


What's wrong with a plain init script?


Yes you are right! Init script will do in this case.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum