LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-06-2005, 12:44 AM   #16
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Rep: Reputation: 0
isdn


I am having the same problem MDK10.1 don't even see usb NT1 Plus2 modem, MadDog you seem to have the same as me (NT1) could you let me know how you set it up I can't even find the file wvdial.

Thanks
 
Old 01-07-2005, 05:26 PM   #17
tonydavo
Member
 
Registered: Nov 2004
Location: Tasmania Australia
Distribution: Ubuntu Dapper x86_64 Fedora 5 x86_64
Posts: 52

Rep: Reputation: 16
I upgraded udev on the advice in FC3 site in the forllorn hope that it may make a difference, no luck.
The combination of keys in udev rules have yeilded nothing. I suspect that the way Telstra have this isdn unit set up to emulate an analog modem for connection to a pc may be part of the problem.

Under the new iteration of udev this cobbled together bastard child has no way to connect.
It's not a modem so udev can't set up the node; It's not an isdn termination device ( or doesn't appear to be to udev ), so it ignores it.

I wonder if enough of us bombed Telstra with complaints/requests about this? well maybe they could have one of there programmers to have a look at it. There's got to be someone there who knows Linux.

I don't have to use fc3 of course. i've got it going full speed under both Mdk 10.0 & Debien (Knoppix 3.6), Slackware live cd & Suse live cd so it's got to be in the 2.6.9-1.667 kernel in fc3. None of the others goes up that far & don't have a full implementation of udev.

But if further upgrades in the others eg, Mdk 10.1 means that my old configeration no longer applies it leaves me/us in no man's land.

Any ideas anyone? mail me direct as well as the forum if you wish.
 
Old 01-07-2005, 10:09 PM   #18
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Rep: Reputation: 0
I agree with you on Telstra, the only advice they gave was go to Whirlpool.net.au and see what they have or the NT1 box manuf. at www.opennw.com . All a waste of time.
I think unless we can find an answer to NT1 ISDN we may have to give away linux .
 
Old 01-07-2005, 11:22 PM   #19
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Rep: Reputation: 0
I have been intouch with Telstra there are drivers for NT!Plus2 system in opennw.com site but we are unable to get them keeps on redirecting to Telstra. Telstra will get back to me on Mon 10/1/05 will let you know outcome.
 
Old 01-07-2005, 11:46 PM   #20
Appleman1234
LQ Newbie
 
Registered: Jan 2004
Posts: 28

Rep: Reputation: 15
Dear all
I got it working in Slackware 10.
Appleman1234
 
Old 01-08-2005, 12:07 AM   #21
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Rep: Reputation: 0
How ? please let us all know
 
Old 01-08-2005, 03:31 AM   #22
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
In Mandrake 10.1, if you use kernel 2.5.x or newer, add the kernel modules you want to load at boot time in /etc/modprobe.preload, and for those who use kernel 2.4.x and older add kernel modules to /etc/modules.

HTH,
 
Old 01-08-2005, 05:53 AM   #23
Appleman1234
LQ Newbie
 
Registered: Jan 2004
Posts: 28

Rep: Reputation: 15
Dear all

I am running Slackware 10 with kernel 2.6.7 .

Note: Mandrake 10.1 default kernel and udev and cdc-acm module don't work. Change the kernel for better luck to any kernel that is not 2.6.8*. Change it to 2.6.4, 2.6.7, 2.6.9. The are a lots bugs in cdc-acm module in the 2.6.8 seris which apparently are fixed in 2.6.9 according to list-usb mailing lists.

These are the steps I took to access the internet with NT1 Plus 2 ISDN Modem.(USB)
1. Plugged the modem in to the computer
2. Turned computer on and loaded up linux.
3. Logged in as root
4. Opened a file browser and a console /terminal.
5. Setup slocate by typing updateb (opitional) (slocate is installed by default in Slackware)
6. Typed cd /dev in console and then typed slocate ttyACM0 to locate usb modem's dev location.
7. Installed lastest wvdial and typed wvdialconf /etc/wvdial to setup basic wvdial configuration file.
NB: A lot of people prefer KDial but I have found that it has an error dialing out just after the Setting Speaker Volume in the connection dialog box.
8. Edited /etc/wvdial to add phone number of ISP, username and password details.
9. Changed AT Init string to ATZ!Z=9!T0=0!T2=1!T4=1, which I found had the best connection rate.
10. Typed wvdial and recorded DNS servers of ISP and added them to /etc/resolv.conf
11. Typed wvdial again and connected to the internet and was able to surf the web.

The following links might help anyone who cannot get the modem working using the above instructions.

Official Open Networks Redhat / Fedora Internet Connection Setup Instructions
Official Open Networks Linux Generic Internet Connection Setup Instructions
1st Whirlpool Forums Post
2nd Whirlpool Forums Post

Hope this helps

Appleman1234
 
Old 01-08-2005, 06:33 AM   #24
tonydavo
Member
 
Registered: Nov 2004
Location: Tasmania Australia
Distribution: Ubuntu Dapper x86_64 Fedora 5 x86_64
Posts: 52

Rep: Reputation: 16
My problems with FC3 only apply to USB connection. The serial connect should be ok but a bit slower (115k) not 128.
This is still ok compared with normal dial up.

As stated, my problem lies with the upgrade to udev & the fact that not all modules are yet included in the driver database. As time goes by i'm sure that we will see a full imlementation & all of us will be happy.

Telstr's answer to the Linux question is "If you want to use another OS, eg Linux, then you can buy an ISDN adapter from one of maufactures listed on Telstra's site ot put up with the crippled one you got as part of the package when you signed up for ISDN home."

So there you have it, your choice. My choice? I'll wipe FC3 (it's only Red Hat experimental after all, not a full distro) & stay with Mandrake 10.0 & Knoppix 3.6/Debian for learning & day to day stuff. For fun i'm going to have a play with Gentoo 2.4. Who knows! I might end up wiping the rest & staying with Gentoo??

Personally I think I'll be dual or triple booting (or more) for a while yet. Experimenting is part of what make computers fun to me
 
Old 01-18-2005, 11:43 AM   #25
jimbob@lq
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: Fedora/Debian/Knoppix
Posts: 6

Rep: Reputation: 0
All,

A quick fix if your interested. At least it works on FC3 so ymmv
In FC2 cdc_acm wasn't probed at bootup so i added the following
to
/etc/modprobe.conf
# FC2 doesn't probe so add this line
alias char-major-166 cdc_acm

All works with a dev modem symlink to /dev/usb/ttyACM0

upgrade to FC3 and no longer need the entry in modprobe.conf but am having
the same problem as the rest of the posts. Create symlink to /dev/modem reboot and symlink is gone

to fix

somehost# cd /etc/udev/devices
somehost# ln -s modem /dev/ttyACM0
somehost# ls -la /etc/udev/devices/
total 16
drwxr-xr-x 2 root root 4096 Jan 17 21:36 .
drwxr-xr-x 6 root root 4096 Jan 17 21:08 ..
lrwxrwxrwx 1 root root 12 Jan 17 21:36 modem -> /dev/ttyACM0
reboot and tada the symlink is still there
so just configure kppp to point to /dev/modem and all is good
although for the Nt1plus II there was something you had to do to kppp
but I can't remeber what it was. I think it was change the modem strings from atdt to atd
and fiddle with the M settings. if I can find the doco I will post it
Note that the device is /dev/ttyACM0 not /dev/usb/ttyACM0 if it was you could just configure in kppp. why don't the kde guys give you an option to enter your own device under modem configuration sheesh

Last edited by jimbob@lq; 01-18-2005 at 11:52 AM.
 
Old 01-21-2005, 05:55 PM   #26
tonydavo
Member
 
Registered: Nov 2004
Location: Tasmania Australia
Distribution: Ubuntu Dapper x86_64 Fedora 5 x86_64
Posts: 52

Rep: Reputation: 16
FC3 and NT1 +II

Jimbob@lq

Tried what you suggested but didn't get the same result. First two lines ok, no 3rd line?

ttyACM0 doesn't exist in my fc3.

Usbview shows the modem under proc/usb/devices but that's as far as I've got up to now.

I've done every thing I can think of & all the things suggested on this forum but cannot get this to work under udev.

I think I'll just sit on it 'till someone comes up with an answer; I've run out of patience.
 
Old 01-23-2005, 05:52 PM   #27
jimbob@lq
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: Fedora/Debian/Knoppix
Posts: 6

Rep: Reputation: 0
Nt1+ii Fc3

Hmm no ttyACM0

tony can you do a lsmod after a reboot and make sure
there is a module called cdc_acm
if not do a modprobe cdc_acm.

then look at dmesg this should give you some hints as
to what the device is called. Is it a stock standard FC3 kernel ?

ie AS root
# grep -i usb dmesg
post the results here.

Now the other thing will be is that now udev also automagically creates
physical device nodes as well as there appropriate symlinks (FC3 should have created a rules
file for your modem but ah well best laid plans and all that)
have alook in here to see how things are done
/etc/udev/rules.d/50-udev.rules


This is from a post to SLUG I did earlier this month

<snip>
2. The other alternative (a more correct method ?) is to make a copy of
/etc/udev/rules.d/50-udev.rules and call it 10-my-udev.rules in the
same directory as
50-udev.rules (the number just tells it what order to apply the rules)
and in here
add your own rule. You will have to trawl through /sys to find your
device but this site tells you all you need to know

http://www.reactivated.net/udevrules.php

Also I have had more luck using the sysfs attribs to create rules as
they are permananent and being able to name your own devices is quite
useful too ie

/dev/usb_key
/dev/this_printer_sucks
</snip>

So the gist is look through /sys until you find your modem dmesg can help here
and then create a rule so that the modem is found

hope this helps
--
James

Last edited by jimbob@lq; 01-23-2005 at 07:30 PM.
 
Old 01-26-2005, 06:22 AM   #28
tonydavo
Member
 
Registered: Nov 2004
Location: Tasmania Australia
Distribution: Ubuntu Dapper x86_64 Fedora 5 x86_64
Posts: 52

Rep: Reputation: 16
Dummy Spit

James
Sorry, before your last post ( this all sounds a bit Fruedian to me) I spat the dummy & gave fc3 the "last post"

Will re-install after I finish messing around with Gentoo. The way it's going should put me in the right frame of mind for fc3 again soon.

thanks all

Tony
 
Old 01-31-2005, 06:56 AM   #29
tonydavo
Member
 
Registered: Nov 2004
Location: Tasmania Australia
Distribution: Ubuntu Dapper x86_64 Fedora 5 x86_64
Posts: 52

Rep: Reputation: 16
Hello all

Well here I go, sucker for punishment me.

[root@localhost ~]# dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
usb 1-3: new full speed USB device using address 2
usb 2-1: new low speed USB device using address 2
input: USB HID v1.10 Mouse [062a:0000] on usb-0000:00:03.0-1
usb 2-2: new full speed USB device using address 3
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
[root@localhost ~]#

So there it is in all its glory.
Now what do I do???

Tony
 
Old 01-31-2005, 07:49 AM   #30
jimbob@lq
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: Fedora/Debian/Knoppix
Posts: 6

Rep: Reputation: 0
Ok tony you're halfway there
you can see from your output that the cdc_acm module has been loaded
that's a good start.

These lines tell where in sysfs you can find your modem
usb 1-3: new full speed USB device using address 2
usb 2-1: new low speed USB device using address 2
and
usb 2-2: new full speed USB device using address 3

now if you do the following for each of the above 3 lines

ls /sys/bus/usb/devices/x-y/

where x is the first number after usb and y is the next as above ie
usb x-y: new full speed USB device using address 2

you will see a whole lot of files under each directory.
look in the product or manufacturer files or whatever until you have found your modem
I found mine because of the following

[root@jim new]# cat /sys/bus/usb/devices/1-2/product
Atlas Modem Board

Now I use the product variable and idProduct variable in /etc/udev/rules.d/10-my-dev-rules file that I created (see my earlier post) and here the file is below . You should be able to pretty much copy this and just change what the
SYSFS variables are . do a reload and fingers crossed you should have a /dev/ttyACM0 and a /dev/modem entry

Have a read of that website in my previous post so you can create your own entries for other stuff
like my usb_key

Isn't it fun too be on the cutting edge. (No I'd rather it worked out of the bloody box)

P.s this may not be exactly the right way to do things but it works for me
I upgraded from FC2 maybe a fresh install of FC3 would have gone smoother
--
James


# There are a number of modifiers that are allowed to be used in some of the
# fields. See the udev man page for a full description of them.
#
# See the udev.rules.examples file for more examples of how to create rules
#

# create a symlink named after the device map name
# note devmap_name comes with extras/multipath
#KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c"

# I want my usb key
BUS="usb", SYSFS{serial}="3B1715E23C332A0B", NAME="%k", SYMLINK="usb_key"
# and definately the modem
BUS="usb", SYSFS{product}="Atlas Modem Board", SYSFS{idProduct}="f102", NAME="%k", SYMLINK="modem"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get IRQ/IO from PCI Dynalink IS64PH ISDN Adapter Vorik Linux - Hardware 1 10-17-2004 09:08 PM
Isdn Adapter Problems hriby Linux - Hardware 1 06-29-2004 10:25 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 07:58 PM
can not get my Diva ISDN Adapter to work on RH9 rkhan2000 Linux - Hardware 0 11-16-2003 06:04 AM
Linux Red Hat and ASUS P-IN-100 ISDN Adapter gabriele Linux - Hardware 0 10-17-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration