This has got to be a bug!!
So I have been working on getting my wireless card up. Please see "Why isn't this working":http://www.linuxquestions.org/questi...orking-714422/
All it took to get it to work was changing IFNAME in rc.inet1.conf from ath0 to wlan0. ath0 is a perfectly good name for an interface and is used by madwifi drivers for a long time. I suspect that this bug is what is causing the problems people are having with 12.2. If I'm wrong I have included all of my config files in the thread "why isn't this working" please show me where I have made an error. So how does one file a bug report for slackware? I used to live just a couple of houses down from Pat. We weren't really friends, he did invite me out for a beer but I don't drink and we just never found the time to get together. So in the past if I had run into something like this I would have just walked down the street but what does a person do to file a bug report in slackware. |
I would suggest dropping an email to either Alien Bob or Rworkman via the LQ mail on their profiles. Eric and Robby are very involved in Slackware and may be able to either get a fix upstream or explain why it isn't a bug.
|
This is most decidedly NOT a bug. Ethernet devices can have a variety of names, wireless ones doubly so and the IFNAME variable needed to have a default value. For that, wlan0 is a good case, but as is the case with a lot of things in Slackware, you need to tailor it to your situation. Believe me, if the default script used ath0 instead of wlan0, there would be a lot more incidents like yours.
|
It's not a bug.
ath5k driver will name device wlan0 and ath_pci will name it ath0.That's all there is to it. |
I don't belive it is correct in saying it is not a bug. If I am supposed to be able to give the interface any name I want, which is why there is a way to do this in inet1, then only having the default able to work is a bug. I should be able to set IFNAME to George_the_First and have it run merrily along. But somewhere the script is breaking with an IFNAME other then wlan0. This is a bug folks.
I just told my wife that I was having a discussion about whether something was a bug or not. She asked "How many legs does it have." |
Well, since you're adamant this is a bug, I've asked for this thread to be moved to the Slackware forum. It will likely get attention from some of the Slackware team.
|
Again,it's not a bug.
You can give any name you like to any interface that you have,but it won't work (like it didn't work before in your system) if the name isn't what it should be,because it's a driver who gives the name to it,not you and things will work if IFNAME and name set by the driver for the interface match.You can only set your own preferences. Modifing the driver's source code (if/when possible) or making your own driver could change that. |
Although I believe that you can alias your "special" name in one of the modprobe configuration files. (Note that I've never done this, so I don't know any details.)
|
Quote:
I do want to address this part of your statement: "Modifing the driver's source code (if/when possible)" I wrote my first program in 1972. I have had my own software company producing IVR systems. That's interactive voice responce. When the internet took off I retired and went into investing. I was tired of the long hours that are required to produce good code. I much prefer playing with my kids to staring at a screen. So it's been possible to modify the driver for many decades and currently I am looking around for an open source project that doesn't have too many primadonas or arrogant Aholes that I would like to contribute to. These requirments make the list very small. |
Quote:
I came here to see if I had just forgotten something important or if there was a problem and a fix was floating around. But it seems neither are the case. If everybody just uses the default then the software is never truely checked for all conditions. And if the concept of "just get it to work" is applied the software is never truely checked. In my opinion the concept of open source is to get the best code possible from the most input. If nobody stresses the code there is no improvement in the code. |
argon99,
This will probably come as a surprise to you,but I will say if and when I was wrong and I was wrong. I was searching and found that actually one can change network interface name the way one want it to be. Quote:
Quote:
Quote:
Code:
#!/bin/sh Quote:
I said what I believed it's true,but I didn't think it through good enough.Above examples shows that I was wrong but only in a way.Some of my statments said before still stand. P.S. You said; Quote:
|
Alan_ri
Thank you for your reply and assistants in setting the ifname problem. But your solution looks to be debian specific. Not that that is a problem but I was working on Slackware and there are some differences. But I'm sure that there are areas of overlap. As for the other part of my post about the open source projects. Are you familar with the cdrecord situation? The problem got so out of hand that the project has been forked into wodim. Also Debian seems to have a great deal of infighting going on. Didn't the top guy, I don't remember the title assigned to this position at debian is, just get replaced? The prima donna problem is huge. The reason is so few people admit when they are wrong. I commend you on that. One thing I would like to add about the ifrename tool. Because ifname is set in udev I'm pretty sure that the ifrename tool uses the udev tool set. That for, some reason that escapes, me Pat did not include with Slackware 12.2. This, from the outside, looks like it might be a problem. I suspect that the udev tool set will have to be added to Slackware before any real progress can be made. |
Well it's 5 am and I have just gotten a chance to get on the slackware box.
Ifrename is included with Slackware 12.2 so it's not debian specific. I did take a look at the source for ifrename it doesn't seem to call the udev tool set so that won't be a problem. I also rechecked rc.inet1 and I don't believe that you can exclude rc.wireless or rc.wireless.config. I say this because rc.inet1 calls rc.wireless with every network interface regardless if its a wired or wireless interface. Inside rc.wireless it checks if the interface that it was called with is a wireless interface. I didn't check but I suspect that here is the problem of why you can't change the IFNAME in rc.inet1.conf and have it work. If you just pick a name for the interface it's not registered with the kernel as an interface of any sort let alone wireless. So when rc.wireless checks if the interface it is being called with is wireless it thinks it is not because it doesn't have a listing in iwconfig. And this is why setting to the default works, because the default is in iwconfig. In my opinion there needs to be some code added before the call to rc.wireless that checks if the name set for IFNAME is registered with the kernel and is reported by iwconfig. If it is do nothing and pass the call along to rc.wireless ( the same code that is in rc.wireless can be reused ). If it is not then call ifrename and set the name of the wireless interface to the IFNAME in rc.inet1.conf. Then call rc.wireless with the new interface name. This should work and correct the problem of IFNAME in rc.inet1.conf being useless. But like I said it's 5 am and I haven't been to sleep yet and I just quickly checked out the code for ifrename and rc.inet1 and rc.wireless so there probably is a better way. Sometime in the next couple of days I will see if I can work up a fix and then I will submit a patch. |
I'm not familiar with cdrecord situation.Also,I'm not familiar with things goin' on inside Debian at the moment,because I haven't been involved in any way lately,but I can say that things were not beautiful lately for some projects,maybe PCLinuxOS example is a good example of how things should not be.
I haven't use Slackware for a long time and I do not intend to do so,so maybe I will not be able to help you with some specifics,but I will watch this thread and I will see if I can help you. |
Quote:
I have used slackware going all the way back to the early ninties when you had a handfull of floppies. But every so often I have checked out other distros to see what they are doing. I ran kubuntu for awhile. But kde 4.OH_NO came out and they lost me. What an abortion. Even Linus has stopped using kde because of the disaster they created with 4.OH_NO. I resently started using opensuse. I got it from a magazine and put it on an extra drive I had just to check it out. It had lots of eye candy and the package management system is very nice. but after using it for awhile I have found a number of things that are just unexceptable. So I have a couple high output wireless cards and was going to make my own 600mW AP. I thought Slackware would be the way to go. It realy is fairly rock solid. I probably found the only problem spot. And I suspect that that problem came up with the change to udev. As for what I will throw some code at enlightenment 17 looks nice. It has a great beginning and there are places that could use some work, like their file manager. I'm not the best shell scripter, C and x86 assembler is more my line, so there will probably be better ways to script the solution but it will work and look like it was written by a C programmer. I will post the solution when I am done with it. |
All times are GMT -5. The time now is 04:15 PM. |