Re: [SLUG] I hate udev!
1) Turning on your tape drive should create the dev entries Nope didn't do it. The tape drive is a scsi device and the hotplug or whatever that this udev is supposed to be designed to work with obviously doesn't see it / detect it. Not surprising really I don't ever recall that a scsi device would send a signal on the scsi cable when it was turned on. 2) Make your backups just a tiny bit cleverer eg RFMd on bash and test Good idea, but annoying that it should need to be necessary and completely out of my control should I decide to install a backup software package such as veritas. also lsmod and modprobe are your friends Can't see any modules that pertain to tapes. Only the scsi driver and I'm not about to rmmod insmod that. Thanks for the ideas P. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] USB Dial-up / Telephony Modem
Sluggers, I'm looking for advice / recomendations on supported USB modems for dial-up. Especially would like to hear from people who've got a USB dial-up modem that is powered by the USB cable, I.E doesn't require an external power supply, and they've got it working under the 2.6 kernel. Also links to any how-tos much appreciated. TIA's Pete. P.S Not ADSL modem, dial-up. thanks. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ISA Serial Card
Sluggers, If one was to put an ISA serial expansion card into a box running a moden (2.6 kernel) Linux version. How would one go about getting the card accessible via a /dev/ttySn device? I've a need for more than 2 serial ports and I've added such a card, installed Ubuntu then FC4 and neither appear to detect the card. With these modern versions that detect everything outta the box I've forgotten what steps are required, but so far I've poked around in /proc but still have no idea whether the card is visible or not. I've attached a modem to the ports but can't see it on /dev/ttyS2,3,4,5,6 though the other ports work via /dev/ttyS0,1 so I know the modem is good and the on-board ports are ok. Google returns a lot about compiling up a new version of the 2.2/4 kernel to install the drivers but. I guess I need to modprobe something, the card doesn't give much away, the main chip has DIGI INTL JAPAN on it and on the back a sticker says PC/2e ISA. Cluesticks TIA's Pete. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Modem Dialing software
Sluggers, I have a need to dial a remote site that is a data logger, I.E. I don't want to run PPPD. I need to dial the site and interogate the logger, downloading it's data and then terminating the connection all in an automated fashion. I can currently do this manually using minicom, but I wish to automate the process. Does anyone have any suggestions to a program that might be able to do this with a script? It must including branching, send this if get that then, else, and timeout I.E send command, if no response within X seconds then send something else or hangup. I've looked at wvdial and chat and they look like they are mostly intended for establishing a ppp session to an ISP, or are they more sophisticated? They look like they can expect ogin: and send a username and password, so I assume that they can then palm off to another program at the end of the script. But the chat script looks very simple, I.e it doesn't appear to support branching and what happens if you send a string and get no response? I.E. the expect doesn't match. Will it time out and return to the next line of the script? Tips, pointer suggestions appreciated. I'm kinda hoping that a simple chat script is the way to go. TIA's Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] DHCP Client not working with unwired
Sluggers, I have a Compulab ARM processor device (a data-logger) running Linux (2.4.18-rmk7-pxa3-armcore) which I'm trying to connect to the Internet using unWired, however the device fails to negotiate an IP address from unWired's modem. dhcp client version is 1.3.19. If I connect the ARM linux data logger to our local Lan it is able to get an IP address from the LAN dhcp server (running on Linux 2.4.7-10 dhcp v3.0). If I take my desktop running FC2 and set it to Dhcp and cable it to the unWired modem it is able to receive an IP address from the modem/network and browse the net. So; Linux Desktop -- Linux Dhcp server, Good Linux Desktop -- unWired modem, Good Linux Data logger -- Linux Dhcp server, Good Linux Data Logger -- unWired modem, Bad Any cluesticks out there? I tried grabbing the IP that was given to the desktop and forcing it into the data logger, cableing it to the modem and seeing what happened but it didn't work. I could see the packets hitting the modems ethernet port but no reply. I assume the unWired dhcp server keeps a record of hardware address vs ip and didn't like the mis-match. I put the unWired modem back on the desktop and it was pinging again. Does anyone know if the unwired modem is a router or a bridge? I'm assuming it's a bridge and that the default gateway and the dhcp server is on the other end of the unWired connection. TIA's Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Dlink Adsl Modem dropping Packets
Sluggers, I finally gave in with my Telstra connection and did the configuration the Telstra way. That is the D-link 502t Adsl modem is in routed mode, it does the pppoa authentication and Telstra provide another /30 address block to put on the ethernet (lan) side of the modem. All appears to work fine except after about a day or so the modem starts to drop packets. If you try to connect to the modem itself on either it's ethernet interface or it's adsl it makes no difference. So I'm pretty sure the problem is with the modem. This very quickly gets worse rapidly going up to 50% and soon after to 100% packet loss. If you re-boot the modem it recovers and all is fine for another day. It feels like some sort of buffer overflow. The mtu on the WAN connection is set to 1492 (as per default and Telstra's instructions) so I put some traffic shaping on the Linux firewall that is connected to the Modems ethernet interface to try to keep the packet queueing away from the modem. That appeared to work for a couple of days but then the modem started to dropped packets again. If you leave the modem for a long period it doesn't recover. Only a reboot fixes it. Hard to believe I know but a daily reboot is not an acceptable solution ;-) The Dlink adsl modem is an embedded Linux device. When it's not dropping packets I can connect on to it, play with the iptables, route tables etc. If only for the sake of Linux's reputation as a great network OS I'd really like to get the D-link adsl modem working. So before taking it up with D-link, I thought I'd ask the collective wisdom of Slug for any cluesticks. So after that long intro, to my actual questions: 1. Do I just have a bad apple and should I just get a replacement or is the a fundamental problem with this model of D-link modems? 2. Is there possibly something wrong with the config that a change to something like the mtu will solve? 3. Should I just give into the word on the street that dlink are crap and go get something else? TIA's Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Sizing for Postgres timestamp
Sluggers, Do any of the postgres savy among you know of a link or page to information about the storage size of the Postgres timestamp field (i.e how many bytes it takes up on disk). I realise that this may not be a simple question based on how Postgres stores/compresses rows onto disk but for the sake of the argument, I have a table with two fields of interest, 1/ an observation date time coverying 400 years, accurate to a second. 2/ a floating point value with a range 0.00 - .99 (6 significant figures). How much disk space would 1 millon rows of such data take up? Thanks Pete. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html