[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ISDN one more time, and an off-topic (perl) question.
- Subject: ISDN one more time, and an off-topic (perl) question.
- From: "Oded Arbel" <odeda-linux-il(at-nospam)betalfa.org.il>
- Date: Sun, 25 Mar 2001 10:56:46 +0200
- Cc: "Linux-IL mailing list" <linux-il(at-nospam)cs.huji.ac.il>
- Organization: mailgw.netvision.net.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi list!
I have a simple perl question, if you please :
I have a function that needs to return a hash (%) to the caller - it does so
something like this :
<snip>
return %temp;
</snip>
and I call it like this :
<snip>
%result = subname(params);
</snip>
now, I want to detect when that functin fails completly, so - when it does
this, it returns a non-defined value :
<snip>
return undef.
</snip>
and now when I try to detect it :
<snip>
if (!defined %result) {
</snip>
it ofcourse doesn't work. so my question is - how should I try to detect the
undefined value ?
and on a slightly more on-topic question -
I'm still having problems with my ISDN card - I had to reinstall the system
(not because of the card, but because I horribly crashed it a few times and
fsck was giving me trouble, so I wanted to do something I should have done a
long time ago - reformat root with reiserFS :-), Mandrake 7.2 like before
(only now it's back to vanila - no new kernel, kde or glibc), and I even
tried to use 'draknet' to configure my ISDN card - but I don't know how to
activate it after I did that.
isdn4linux give me trouble - when I run it with some options - like 'isdn
net setup' it complains about missing files in the documentation directory
or something, and kISDN, after properly configuring it , acts the same as
with my own handmade scripts -
it loads the modules properly, sets everything up without a complaint, and
then when I dial out, it does 3 tries and fails. sometimes returning error
E001B (with kISDN I even got once an E0010 error).
When I tried to dial with minicom and the modem emulation (/dev/ttyI0) I get
BUSY responses - I dial and then it takes sometime (much more time then I
think and ISDN should take) and returns BUSY, or - sometimes - it returns
BUSY immidietly (after much less time then I think ISDN should take).
The card in question is the venerable Fritz!PCI on an AOpen PX64+ board with
a P2-233 processor, running a vanila Mandrake 7.2.
My next option, which I'm gonna try when I get home today, is to add another
HDD with Win98 installed, try to dial-up, and if I fail - get technical
support from my ISP. if I succeed connecting with Win98 I'll be very
disapointed.
Speaking of technical support (and linux ;-) here are two horror stories :
1) I registered to Netvision, in an attempt to get techincal support for
linux, clearly stating to the sales person a few times that linux support is
the only reason I'm registering, and she assured me that its no problem. a
few days later when I called and asked for technical support I was told that
Netvision _closed_ their linux support section a month ago !
2) so I registered to Actcom - which is the only other ISP I'm aware of that
promised linux technical support. I took their "not so cheap, but ok", again
making sure that I can get linux support with that, and a few days later,
when I called for tech support, I was told by the nice support person that
no ISP does linux support in Israel, and Actcom can't help me with my ISDN
either. he was nice enough to tell me he will try to help and call back -
though he never did :-)
I didn't really understand if Actcom doesn't give linux tech-support at all,
or just not for ISDN connections.
Oded
--
Police: "You're under arrest for murder."
PC: "It wasn't me! Just ask them; they were there when I did it!"
-- Top20 one-liners
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il