Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:talk:slackware:fixes [2012/06/09 10:19]
188.143.232.12 noITMQcokZaGRA
wiki:talk:slackware:fixes [2012/12/19 12:15] (current)
alien old revision restored. spammers are stupid people. alien
Line 1: Line 1:
-for the comment. Assuming you are tinryg to have test var to be from 33,34,35,....,351you can use:test=$(seq 33 351)for i in $testdo...doneortest=`seq 33 351` And if you are just looking for test var to be one of two values viz33 and 351 you can loop using for:for test in 33 351dols -laht /tmp/_structure/interface*_${test}_*.xmldonePlease let me know if misunderstood your query. Thanks.+===== Discussion page for Slackware annoyances ===== 
 + 
 +If you have anything that annoys you in Slackware, feel free to add that to this page. I will try to answerand perhaps provide a fix for obvious bugs. --- Eric 
 + 
 +Thanks for providing extremely useful pages to all Slackware users! 
 + 
 +One minor annoyance: 
 + 
 +**Trouble with rc.inet1 <int>_restart / stop** 
 +In a system with 2 network cards (let's say one wiredone wireless) and only one card is plugged/activewhen shutting down the system, it tries to deactivate the interface which is already down and doesn't have an IP addressNo big deal, but wastes a second, prints an error message, and tries to send for an inactive interface 
 +More importantly - trying to get a new IP address doesn't work - running rc.inet1 ath0_restart doesn't properly release the IP address so that it's impossible to get a new address on the interfaceSame problem happens with rc.inet1 ath0_down&&sleep 5&&rc.inet1 ath0_start 
 + 
 +Thanks much! (-Y1) 
 + 
 +> Hi Yalla! Your problem might be related to tone from Ismaeland fixed with the addition of <code>ifconfig ath0 0.0.0.0</code> 
 +> I'll see that I update my scripts sometime soon. Sorry that my replya took so long... never suspected anyone would actually **use** these discussion pages! 
 +> --- Eric 
 +----------------------------------- 
 +**- Related comment (suggestion):** 
 + 
 +I've been thinking that maybe Slack's rc.inet1 should also unset the IP address when it brings it down. 
 + 
 + 
 +Something like: 
 +<code> 
 +ifconfig ethN 0.0.0.0 
 +ifconfig ethN down 
 +</code> 
 + 
 + 
 +IMHO it should do it in both cases, when there's a DHCP assigned address and when it is statically assigned. 
 + 
 +I've seen that my RaLink 2500 wireless card gets confused when it is brought(sp?) down but the IP isn't removed (If I run ifconfig -a, then the IP is still being shown!)It get's its IP from DHCP, and the DHCP gets sucesfully killed, but out of sudden the card comes up again, adding a fix like the one above to rc.inet1 seems to solve this. 
 + 
 +Maybe you could add that to your enhaced rc.inet1, Eric. And hopefully it will get into Slack 11 :
 + 
 +--- Ismael C. 
 + 
 +> (//ifconfig ethN 0.0.0.0//: ) I had already proposed to add this to rc.inet1 but Pat voted it down :-( Still, can just add it back to my own version of the rc.inet1, and maybe Pat will be convinced of it's use when more people bring this to his attention <hint> 
 +> --- Eric 
 +--------------------------

Personal Tools
sponsoring