Re: [ilugd] NICs on RHEL 4.0
Finally trying to write udev rules based upon mac address: #udevinfo -a -p /class/net/eth0 looking at class device '/sys/class/net/eth0': SYSFS{addr_len}=6 SYSFS{address}=00:0b:cd:4e:31:c1 SYSFS{broadcast}=ff:ff:ff:ff:ff:ff SYSFS{features}=0x11a3 SYSFS{flags}=0x1003 SYSFS{ifindex}=2 SYSFS{iflink}=2 SYSFS{mtu}=1500 SYSFS{tx_queue_len}=1000 SYSFS{type}=1 follow the class device's device looking at the device chain at '/sys/devices/pci:00/:00:05.0': BUS=pci ID=:00:05.0 SYSFS{class}=0x02 SYSFS{detach_state}=0 SYSFS{device}=0x16a6 SYSFS{irq}=177 SYSFS{subsystem_device}=0x00bb SYSFS{subsystem_vendor}=0x0e11 SYSFS{vendor}=0x14e4 looking at the device chain at '/sys/devices/pci:00': BUS= ID=pci:00 SYSFS{detach_state}=0 Based upon above i made two rule and put them in /etc/udev/rules.d/10-local.rules #SYSFS{address}==00:0b:cd:4e:31:c1, NAME=eth0 #SYSFS{address}==00:0b:cd:4e:2e:f7, NAME=eth1 BUS==pci, SYSFS{irq}==177, NAME=eth0 BUS==pci, SYSFS{irq}==185, NAME=eth1 Both sets above fails stating the above in logs Nov 13 17:16:06 Servername udev[7497]: parse error /etc/udev/rules.d/10-local.rules, line 3:0, rule skipped Nov 13 17:16:06 Servername udev[7497]: parse error /etc/udev/rules.d/10-local.rules, line 4:0, rule skipped does anyone have any clue? Regards Yashpal Yashpal, But the question is why MAC address is swapping between the two NICs. You should contact HP support. To me, this looks like a hardware issue. Regards, --Naresh ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] QUERY: Will this solution work with a Reliance ZTE datacard?
Output is same as this http://www.plug.org.in/pipermail/plug-mail/2006-May/000283.ht ml On 14/11/06, Sudev Barar [EMAIL PROTECTED] wrote: On 14/11/06, Frederick FN Noronha [EMAIL PROTECTED] wrote: Sudev, Please advice... attached is a PDF which explains the issue (not sure if it's for ZTE too). FN FN Can we keep this on the list? Others can ship in and also help? The procedure described in the way to go. That is why I have been asking out out of /var/log/messages (when card is inserted and then removed) to first determine if the module needs to be loaded or is already getting loaded and device assigned. Once we get the device assigned (/dev/ttyS0 in the article) then we move on to modem initialisation strings. Usually atz is sufficient but this may also involve extended strings just like the article describes for making voice calls. Or as Spoonmans post earlier suggested. Nokia site has a pretty comprehensive document covering lot of extended init string syntaxes. Some getting the feet wet issue to be overcome but likely chances are good to get this working. If any one at ILUGD has ATZ card and is willing to bring t to next meeting we try to carck this but till then we will have to make a attempt on doing this with emails. -- Regards, Sudev Barar -- FN 9822122436 +91-832-240-9490 (phone calls after 1 pm please) Free the airwaves... for India's sake (see the article at the URL below) [http://www.tehelka.com/home/2006/2006.asp?filename=18.jpg] ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] [LIH] QUERY: Will this solution work with a Reliance ZTE datacard?
On 14/11/06, Prof. Prabhat Ranjan [EMAIL PROTECTED] wrote: Please see the following mail of mine. Till now I have not found a solution for getting ZTE Datacard of Reliance on Linux. 2 more users have posted similar mail on this mailing list: http://lists.infradead.org/pipermail/linux-pcmcia/2006-November/004114.html Please take the following with pinch of salt but this is more or less how I have got many connections working. And sorry for jumbled reply. I do hope to make a wiki at some site soon. The link given by you above provides the clue that card is detected and is being assigned to ttyS3 SO modules or drivers are not the issue but you need to concentrate on the init string. My suggestion would be: Step 1 In one terminal as sudo run tail -f /var/log/messages In the second terminal first become root by sudo su - and then do echo atz /dev/ttyS3 and see if any messages are shown in terminal 1(there should be none)? If the command prompt is returned without error on terminal 2 then command is getting piped to the card if not then wrong module/driver is getting attached. If the latter then you need to work out which module is getting loaded by using lsmod and then use module blacklist to make sure this does not get loadded and manually load the correct modules needed. If the former (more likely as the card is getting /dev/ttyS3) proceed to next step. Step 2 If the card is running on a win machine near you try to see if you can come up with modem init string from there. Or google for such strings. Or try at+crm=1;+cso=33 Or any other string that you are able to google out. When the correct string is run you will see no errors in the first terminal where tail -f /var/log/messages is running when a connection is initiated by any ppp connection programs. IMHO nothing is going to go wrong on modem or computer with improper stringyou may have to take out the card and reboot but thats just about it. -- Regards, Sudev Barar ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Re QUERY: Will this solution work with a Reliance ZTE datacard?
Nothing quite works with the ZTE card. Am on the point of giving up. Have written to ZTE [EMAIL PROTECTED] The Sierra Wireless AirCard 555 does work though, and it's setup is documented in the July 2006 issue of LINUX FOR YOU (New Delhi). On the #linux-india chatroom on Freenode, someone mentioned that the Sierra card costs three times as much. But Reliance told me (on the phone) that it is also sold at the same price (Rs 5000). It would make a lot of sense if ZTE had worked out some solution for the GNU/Linux operating system. Incidentally, I came much further on the SuSE operating system (sorry, this is a politically incorrect thing to now say, thanks to Novell!!!) than I did with Ubuntu. We tried everything. Different init strings (including those suggested on the Windows-only setup that comes on the mini-CD enclosed) and blacklisting some possibly-conflicting modules. But nothing much worked. So, in a word: if you want to go wireless on Reliance... don't go ZTE. At least not until China's second largest telecom hardware company decides to be more GNU/Linux friendly. Am not sure, but was told that Huawei also works, but haven't tried or seen this out myself. Just sharing this in case others are stuck at the same point that I have (along with others like Prof Prabhat Ranjan, who has tried quite a bit and given some useful online tips too). FN PS: ZTE, don't ignore GNU/Linux! Date: Tue, 14 Nov 2006 15:51:00 +0530 From: Frederick Noronha [EMAIL PROTECTED] Subject: Re: [ilugd] QUERY: Will this solution work with a Reliance ZTE datacard? Output is same as this http://www.plug.org.in/pipermail/plug-mail/2006-May/000283.ht ml On 14/11/06, Sudev Barar [EMAIL PROTECTED] wrote: On 14/11/06, Frederick FN Noronha [EMAIL PROTECTED] wrote: Sudev, Please advice... attached is a PDF which explains the issue (not sure if it's for ZTE too). FN FN Can we keep this on the list? Others can ship in and also help? The procedure described in the way to go. That is why I have been asking out out of /var/log/messages (when card is inserted and then removed) to first determine if the module needs to be loaded or is already getting loaded and device assigned -- FN 9822122436 +91-832-240-9490 (phone calls after 1 pm please) ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/