LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2008, 02:36 PM   #1
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Rep: Reputation: 0
Dial up works with Xandros how can those drivers be may to work in ubuntu


For last 4 weeks have been trying to get Ubuntu 7.10 to go on line through dialup. The modem is SiS Ac'97 (rev a0) have installed sl-modem-daemon and found how to alter the country name from usa to New_Zealand .what next?
Xandros worked first time up so why can Ubuntu not come up with the same package? Have trid to install xandros deb modem etc but it comes up with (dependency is not satisfiable modutils)Do not understand what is being said?

Yes have run scanmodem.

place in NZ is Taranaki Mt Egmont.

Last edited by cctv; 03-17-2008 at 02:08 AM.
 
Old 03-16-2008, 03:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

Welcome to LQ!

I don't know your modem, but if it's a win-Modem chances are that Xandros
as a commercial product has proprietary drivers that you actually paid for
in the purchase. If this is the case Ubuntu won't work out of the box.

As for the dependencies: that's the side-effect of the ease of use. It means
that all software within the distro is designed to work together, and to
achieve this goal there's a reasonably rigid regime regarding version numbers
in place. And whatever the Xandros package contains would appear to be
different from Ubuntus.



Cheers,
Tink

P.S.: Where abouts in Godzone are you? :}
 
Old 03-16-2008, 04:48 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Have you run scanModem from linmodems and followed it's instructions?
 
Old 03-17-2008, 06:54 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OP has been speaking offline to me for a while. And he was more polite, and less frustrated, talking to me. I am partly responsible as I've been insisting he post a thread here so everyone can benifit instead of just telling him what to do. (Though I've told him about scanModem.)

I'll summarise what I know:
The NZ Edition of PC World has been putting gutsy on it's coverdisk (but no backup article inside) for a while now. This has been encouraging some NZers to give it a go who would not normally try.

OP suspects the modem is a smartlink. Which suggests twe things:

1. Use Ubuntu's restricted drivers manager and see what it says. This includes the restricted smartlink drivers just for Ubuntu.

2. Failing that - I really need to see the output from running scanModem. I need the entire text from the ModemData.txt file. All of it. (When you run ./scanModem, spell it correctly: with a cap. "M".) The purpose is to identify your modem. We have to go through this because manufacturers seldom let on.

BTW: You don't have to keep adding to your first post to answer questions - just enter the reply in the box at the bottom of the page or click the "quote" button.

Do the other OSs have this problem (people expecting windows-only hardware to work in them)?

Last edited by Simon Bridge; 03-17-2008 at 06:56 AM.
 
Old 03-17-2008, 07:05 AM   #5
el amigo*
Member
 
Registered: Dec 2006
Location: Rep˙blica Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Rep: Reputation: 15
Just a thought: Those 2 distros are generally good (out of the box) for winmodems dial up users: Mepis & Puppy... They usually come with necessary drivers...
 
Old 03-17-2008, 08:40 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
NZ has lots of active linux clubs (called LUGs). These are a great resource - a member of your local LUG can often help you out with internet (say) while you are getting your modem going.

The Taranaki Linux Users Group is: TLUG

If they are close enough to you (and I know how big the region is) you may be able to attend the next meeting. Though they haven't had one in a while.
 
Old 03-17-2008, 04:54 PM   #7
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Correct folder for installs

Quote:
Originally Posted by Simon Bridge View Post
NZ has lots of active linux clubs (called LUGs). These are a great resource - a member of your local LUG can often help you out with internet (say) while you are getting your modem going.

The Taranaki Linux Users Group is: TLUG

If they are close enough to you (and I know how big the region is) you may be able to attend the next meeting. Though they haven't had one in a while.
Thank you you your input and any others who are replying.

First the mag is PC User from Aussie and mostly is worth the monthly read.In my mind it is a step on others.

As what is sorted here may help a lot of people I will start at the begining and try and ask simple questions.

1) when installing a deb programe (scanModem)what folder should it be placed in (at this stage I have been doing it from the desktop)

I have found if I goto the scanModem that has been installed I find several text files including one for the modem is this what is required?

CCTV
 
Old 03-17-2008, 10:06 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I'll walk you through from scratch:
(This was also sent privately - but I think there must be someone else who will benifit.)

1. download scanModem.tar.gz and put it in ~/Documents
2. open a terminal (Applications > Accessories > Terminal)
3. Terminal Comventions: The "$" and "#" signs are command prompts and
are not to be typed. Everything after a command prompt is to be typed,
when you reach the end of a line, hit "enter". Anything on a line by
itself is an example output for you to compare with and is not to be
typed (note: yours won't be exactly the same.) I will use square
brackets when I want to avoid typing stuff out, or to comment.
Code:
[begin example]

$ cd ~/Documents
$ ls
scanModem.tar.gz

$ tar xzf scanModem.tar.gz
[some messages here]

$ ls
scanModem.tar.gz  readme.1st  scanModem.2008030125

$ mv scanModem.2008030125 scanModem
$ sudo chmod +x scanModem
Password:

$ sudo ./scanModem
Password:

[some messages here]

$ ls
Modem scanModem.tar.gz  readme.1st  scanModem.2008030125

$ cd Modem
$ ls
1stRead.txt     ALSAroot.tgz  DriverCompiling.txt  InfoGeneral.txt
ModemData.txt    Rational.txt  SoftModem.txt        Testing.txt
UNSUBSCRIBE.txt  wvdial.txt    YourSystem.txt

[end example]
The file I want is called "ModemData.txt". You need to copy the content
of this file into [code] tags as a reply in the LQ thread. If you know
how to do this, skip the rest. Otherwise - read on...

4. You will need to get the ModemData.txt file to a computer with
internet access, by some means at your disposal.
4.1 Open a browser on that computer,
4.2 browse to your LQ thread,
4.3 find my last post,
4.4 find the "quote" button by that post,
4.5 click the quote button.

5. An edit page will appear, with my entire post in [QUOTE] tags at the
top. I want you to remove everything between the quote tags except the
bit where I ask for scanModem output.
Leave the [QUOTE=Simon Bridge] and [/QUOTE] alone.

6. After the [/QUOTE] tag, press enter to start a new line. Then type in
something like "Here is the file you asked for:" but without the ""
marks. Then press enter. Then type "[CODE]". Then press enter.

7. Open the text file in a text editor (on your computer - not in the
browser) - select all - copy

8. rt-click in the LQ edit page (in the browser) on the line after
[CODE]. Select "paste". (All the text from the editor will now appear
after the [CODE] tag.)

9. still in the browser - press enter then type in [/CODE].

10. save the post with the button just below where you type.

If this looks too hard, you can attach it to an email, and I'll do it. Note: this is not a blanket permission to everybody! OP Only!

If you receive any message starting "ERROR", or similar, anywhere, I need to know
*exactly* what it says as well as the command you typed to get this
(also exactly).

To get linux terminal output to me, you need to save it to a text file,
get that file to a computer with internet access, etc. This is because I
need the exact copy, not a description of what it said.

I am currently running a course in Orewa called "Open Source Computing (Free Software Techniques for Normal People)"... this won't help you directly - but the course materials are online from the HBCLUG website.

The materials comprise course notes and supporting documents - and are not intended to stand alone. However, it should give you a script to follow. If you want tutoring for the course - I'm afraid I charge

Last edited by Simon Bridge; 03-17-2008 at 10:10 PM.
 
Old 03-18-2008, 01:49 AM   #9
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I looked for

System
Administration
Restricted (not a thing)

So PC User

System
Administration
Synaptic Package manager
use the search and type in restricted
Ubuntu-restricted-extras will appear (nothing to do with modems in the readings)

I have Ubuntu v5.10, 6.10, 7.04 cds

I wonder if because 7.10 was put out by PC User that not all files were included as several things you have point me to do not work.?May be I should get a downloaded copy, the 7.04 was straight from Ubuntu.

will try what you posted today thanks

om
 
Old 03-18-2008, 03:07 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
7.04 does not have the restricted device manager.
The packages are:

restricted-manager
restricted-manager-core

You can attempt it from the command-line by just entering:

$ restricted-manager

If it dosn't come up, sudo apt-get install restricted-manager (while the install CD is in the drive) may work - otherwise you need to be online to install this way. For that matter - try sudo apt-get install sl-modem-daemon.

It is entirely possible that the coverdisk version is without this. These packages provide access to things which have uncertain legality in Australia, so a magazine would be exposing itself if it provided them.

<speach>
Some people think that the ability to play music and access the internet is something you buy with the soundcard and modem respectively. Unfortunately, this is not the case. Instead you rent this ability separately and only for specific circumstances.

The free software movement is dedicated to the idea (amongst others) that if you buy a modem, it should work with any OS you choose. This also fits in with Kiwi ideas about "fair play".
</speach>

The sl-modem-daemon package is here.
Click on the "i386" link at the bottom of the page will download the package called:
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb

Copy it to your ubuntu machine.

sudo dpkg -i sl-modem*

(There's probably a better way).

But lets see how you fair with scanModem first. This will make sure it is the correct package.
 
Old 03-18-2008, 07:03 PM   #11
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge View Post
7.04 does not have the restricted device manager.
The packages are:

restricted-manager
restricted-manager-core

You can attempt it from the command-line by just entering:

$ restricted-manager

If it dosn't come up, sudo apt-get install restricted-manager (while the install CD is in the drive) may work - otherwise you need to be online to install this way. For that matter - try sudo apt-get install sl-modem-daemon.

It is entirely possible that the coverdisk version is without this. These packages provide access to things which have uncertain legality in Australia, so a magazine would be exposing itself if it provided them.

<speach>
Some people think that the ability to play music and access the internet is something you buy with the soundcard and modem respectively. Unfortunately, this is not the case. Instead you rent this ability separately and only for specific circumstances.

The free software movement is dedicated to the idea (amongst others) that if you buy a modem, it should work with any OS you choose. This also fits in with Kiwi ideas about "fair play".
</speach>

The sl-modem-daemon package is here.
Click on the "i386" link at the bottom of the page will download the package called:
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb

Copy it to your ubuntu machine.

sudo dpkg -i sl-modem*

(There's probably a better way).

But lets see how you fair with scanModem first. This will make sure it is the correct package.
bone@bone-desktop:~$ restricted-manager
bash: restricted-manager: command not found
bone@bone-desktop:~$ restricted-manager-core
bash: restricted-manager-core: command not found
bone@bone-desktop:~$ sudo apt-get install restricted-manager
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package restricted-manager
bone@bone-desktop:~$

bone@bone-desktop:~$ sudo dpkg -i sl-modem
dpkg: error processing sl-modem (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
sl-modem
bone@bone-desktop:~$



SL-modem-daemon/sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb [has been installed]

would not copy or move sl-modem-daemon to the folder called home [you do not have permission to write to this folder]

Again the need for permission is allways coming up ?

I draged copy restricted folder from the cd Ubuntu to the desktop,two files inside
binary-i386 and source

This time I went
places , home folder ,draged restricted then SL-modem-daemon and they when there.allso scanModem.


bone@bone-desktop:~$ sudo apt-get install sl-modem-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
sl-modem-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bone@bone-desktop:~$


Ubuntu 7.04 cd free from france has restricted two files binary-i386 and source

I did thiss be for the above;;;;;;

I have sent you this so you can edit it and post what you believe is help full to others as you will see I'm still being shut out of doing what to me should be very simple.

i was trying to use what you sent LQ but again could not get it to work so
I ended up draging the name of the item to the terminal ,
some of it is extra as i tested different inputs

How I used scanModem

double click on renamed scanModem Icon on desktop
this opens up scanModem-file browser
Double click scanModem 2008030400
run in terminal [this makes a folder called modem ,open it and there are 14 txt files with one called scanout .00:02.6

the print out is below this text.


PCIDEV=1039:7013
CLASS="Class 0703: 1039:7013"
NAME="Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller "
SUBSYS=1631:3054
IRQ=169
SOFT=1039:7013.MC97
HDA=
CODECd=SML62
IDENT=slmodemd
SLMODEMD_DEVICE=
OPTS=
COD=SML
CNX=
Driver=snd-intel8x0m

This was trying to use what you sent me and posted on LQ {they are forwarding any posts made to me}

bone@bone-desktop:~$ cd ┬/Documents
bash: cd: ┬/Documents: No such file or directory
bone@bone-desktop:~$ cd ┬/deskto/scanModem/modem
bash: cd: ┬/deskto/scanModem/modem: No such file or directory
bone@bone-desktop:~$ '/home/bone/Desktop/scanModem/Modem' [drag name from its iteam]
bash: /home/bone/Desktop/scanModem/Modem: is a directory
bone@bone-desktop:~$ ls
Desktop Examples Modem
bone@bone-desktop:~$ tar xzf scanModem.tar.gz
tar: scanModem.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
bone@bone-desktop:~$ tar xzf scanModem
tar: scanModem: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
bone@bone-desktop:~$ ls
Desktop Examples Modem
bone@bone-desktop:~$ tar xzf Modem
tar: Modem: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error exit delayed from previous errors
bone@bone-desktop:~$ ls
Desktop Examples Modem
bone@bone-desktop:~$ Modem
bash: Modem: command not found
bone@bone-desktop:~$ Desktop
bash: Desktop: command not found
bone@bone-desktop:~$ ls
Desktop Examples Modem
bone@bone-desktop:~$ scanModem.tar.gz readme 1st scaModem.2008030125
bash: scanModem.tar.gz: command not found
bone@bone-desktop:~$ '/home/bone/Desktop/scanModem/scanModem.2008030400' [drag from its icon]
UPDATE=2008_03_04
Continuing as this update is a only 2 weeks old,
but the current Update is always at: http://linmodems.technion.ac.il

Please rename this script scanModem, or some files will not print out.
Abort with Ctrl-C, or wait 5 seconds to continue.


Identifying PCI bus slots with candidate modems.

=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===

Running PCIbus cases
Analysing card in PCI bus 00:02.6, writing to scanout.00:02.6
Analysing card in PCI bus 00:0b.0, writing to scanout.00:0b.0
Using scanout.00:02.6 data, and writing guidance to ModemData.txt
Writing Smartlink.txt
Using scanout.00:0b.0 data, and writing guidance to ModemData.txt
Writing AgereDSP.txt

Writing residual guidance customized to your System.
A subfolder Modem/ has been written, containing these files with more detailed Information:
------------------------------------------------------------------------------------------
1stRead.txt AgereDSP.txt Bootup.txt dmesg.txt
DriverCompiling.txt InfoGeneral.txt ModemData.txt Rational.txt
scanout.00:02.6 scanout.00:0b.0 Smartlink.txt SoftModem.txt
Testing.txt UNSUBSCRIBE.txt wvdial.txt YourSystem.txt
-------------------------------------------------------------------------------------------
Please read 1stRead.txt first for Guidance.


bone@bone-desktop:~$
bone@bone-desktop:~$





[from a couple of days ago]
Gnome PPP

--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Please enter password (or empty password to stop):

I guess you know this but I wonder about kernel driver;;;;;;;;

SmartLink software modem daemon
The SmartLink modem daemon is the application part of the driver for recent modems produced by Smart Link Ltd.
This package replaces (along with hardware access drivers) the old driver generation (2.7.x) which consisted of kernel modules only.
It needs a kernel driver to access the hardware. This can be either recent ALSA (shipped with a newer kernel (>=2.6.4) with Alsa support and intel8x0m module) which is sufficient for basic operation and data/Internet connection, or the SmartLink kernel driver which is provided by separate packages which you can build using the source from the sl-modem-source package.
 
Old 03-19-2008, 02:33 AM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It is very difficult to work out what is going on when you don't follow the instruction as I have posted them.

What you need to do takes about 30 seconds - but you keep refusing to actually do what I tell you!

[QUOTE=cctv;3093205]bone@bone-desktop:~$ restricted-manager
bash: restricted-manager: command not found
[quote]
It's not installed - OK, we'd guessed that.

Code:
bone@bone-desktop:~$ sudo apt-get install restricted-manager
You did not follow instructions:
I said, this will work only if you are online. Were you online?

If so: then what are we messing about with your modem for?

Quote:
bone@bone-desktop:~$ sudo dpkg -i sl-modem
dpkg: error processing sl-modem (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
sl-modem
bone@bone-desktop:~$
You did not follow instructions:
My instructions require the package to be dowloaded from the ubuntu repo in the link I provided, and the command must end in a *.

sudo dpkg -i sl-modem*

Quote:
SL-modem-daemon/sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb [has been installed]
Is this the ubuntu package or the xandros one?

Quote:
would not copy or move sl-modem-daemon to the folder called home [you do not have permission to write to this folder]
That's correct - I said to use your home directory, not /home. This will be /home/bone for you and /home/<username> for others.

cd ~ or cd $HOME will take the terminal there.

You are not supposed to be able to write to /home. This is A Good Thing. This sort of thing is helping prevent malware from installing.

Quote:
I draged copy restricted folder from the cd Ubuntu to the desktop,two files inside
binary-i386 and source
Another way to find your home directory is to go to Places > Home. You can drag files from the desktop into there. You can also edit the firefox preferences to put downloaded files there automatically.

You can put a home icon on your desktop too ... go to:
System > Preferences > Main Menu
---> a window pops up with sections called "menus" and "items"

In the "menus" section, look for "System Tools" and single-left-click it.
---> the "items" section changes

In the "items" section, there are items (well doh) and check-boxes. You need to single-left-click the box for the item called "Configuration Editor".

If it is already checked (colored in) then you should leave it alone - and I've just wasted your time

Now click "close".

Next, go to "Applications > System Tools > Configuration Editor"
In the configuration editor window, there is a list of folders. You want to go to:
Apps > Nautilus > Desktop

The right view changes - locate the item that says "home icon visible", it has a check box next to it, click the checkbox. (You may want to check the others while you are there.)

Now close the window by file > quit (or the window close button).

Now you have a home folder on your desktop.

This process is too convoluted - hopefully it will be corrected in hardy.

Quote:
bone@bone-desktop:~$ sudo apt-get install sl-modem-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
sl-modem-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bone@bone-desktop:~$
Hmmm... you are online?
This means the driver is installed - remains to edit /etc/wvdial.conf

However - need to be sure that this modem really is a smartlink. Otherwise it will just get confusing. That's what scanModem will do.

Quote:
Ubuntu 7.04 cd free from france has restricted two files binary-i386 and source
Sorry - no idea what you're on about. We were using 7.10 before.
Quote:
i was trying to use what you sent LQ but again could not get it to work so
I ended up draging the name of the item to the terminal ,
some of it is extra as i tested different inputs
Well - you did not follow instructions.

When reporting problems - show me what you input to the terminal, and what the terminal said back to you. Exactly.

Describing problems doesn't help.
Quote:
How I used scanModem

double click on renamed scanModem Icon on desktop
this opens up scanModem-file browser
Double click scanModem 2008030400
Did it really have a space in it's filename? These details are important.
Quote:
run in terminal [this makes a folder called modem ,open it and there are 14 txt files with one called scanout .00:02.6

the print out is below this text.
Not useful - you did not follow instructions for running scanModem. Follow those instructions.

You need to extract the scanmodem script - drag the scanModem-2008030400 to a handy location. Documents is good.

You had a go - OK - lets see what you did:
Quote:
bone@bone-desktop:~$ cd ┬/Documents
bash: cd: ┬/Documents: No such file or directory
What is that extra ┬ character in there? Is that supposed to be a tilda "~"? Look on the top row of your keyboard - where the numbers are - to the left of the "1" there is a key labelled "~" and "`". Press shift+ that key.
Quote:
bone@bone-desktop:~$ cd ┬/deskto/scanModem/modem
bash: cd: ┬/deskto/scanModem/modem: No such file or directory
bone@bone-desktop:~$ '/home/bone/Desktop/scanModem/Modem' [drag name from its iteam]
Well... you worked around it. But you left the "cd" off the beginning. You know from your decades of computer experience that you cannot go round leaving off vital commands.
Quote:
bash: /home/bone/Desktop/scanModem/Modem: is a directory
...see? You should have put:
cd /home/bone/Desktop/scanModem/Modem

"cd" means change directory.
Quote:
bone@bone-desktop:~$ ls
Desktop Examples Modem
This is the wrong directory - the point of asking for the file list (ls) is to make sure the file you want to work on is there.
Quote:
bone@bone-desktop:~$ tar xzf scanModem.tar.gz
tar: scanModem.tar.gz: Cannot open: No such file or directory
And it isn't. Compare with mine.

You cannot extract the tarball if it is not in your working directory.
You need to use cd to get to the directory that scanModem.tar.gz is in, then execute the command.

Quote:
bone@bone-desktop:~$ Modem
bash: Modem: command not found
That's not a command, that's a directory. Commands are green.
Quote:
bone@bone-desktop:~$ Desktop
bash: Desktop: command not found
That's not a command, that's a directory. Commands are green.
Quote:
bone@bone-desktop:~$ '/home/bone/Desktop/scanModem/scanModem.2008030400' [drag from its icon]
UPDATE=2008_03_04
Continuing as this update is a only 2 weeks old,
but the current Update is always at: http://linmodems.technion.ac.il

Please rename this script scanModem, or some files will not print out.
Abort with Ctrl-C, or wait 5 seconds to continue.
Have a look at that name again:

/home/bone/Desktop/scanModem/scanModem.2008030400

The script name is:
scanModem.2008030400

It's location is:
/home/bone/Desktop/scanModem/

In other words - you did not follow instructions. You did not put the script into a handy location - you left it in an annoying place - on your desktop.

From your previous attempts - I see you don't have the standard default folders that Ubuntu gives everyone else. So...



open your home folder - you will see three folders in it called "Desktop", "Examples" and "Modem".

drag the scanModem.2008030400 icon from werever it is to your home folder.

rename the scanModem.2008030400 file to just plain scanModem.
(right-click the icon and select "rename")

Open a terminal like before... it will automatically open to your home folder, so you don't need to cd anywhere.

$ ls

And you should see the file "scanModem" alongside the others. If not, there is no point continuing. Find scanModem and put it in the right place to be used.

If it is there - start from "$ chmod +x scanModem" in the instructions.

Then we'll get on to wvdial.conf and gnome-ppp.
 
Old 03-20-2008, 01:58 AM   #13
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Using XP to remover Linux programs partitions

XP cd in to cd/dvd drive
Setup is loading files
Setup is starting windows
To set up windows XP press Enter
F8
Windows xp professional setup
Shows list of partitions

C: 98se 6032mb
E linux
F linux

Move to partition to be deleted
D to delete
L to delete this partition
F3 to quit
F3 to restart computer
Let computer start in windows
Do a restart.

New install Ubuntu
Use XP to get rid of old Linux etc. see notes

On starting up the computer put the Ubuntu cd in the cd drive
The Cd should startup on its own if do a reboot Ctrl+Alt+ delete
Start or install Ubuntu
When Ubuntu comes up
Click on install
English
Time (click on New Zealand map)
Selecting city: [ Auckland] or your city /country]
Ajust time if need be
Forward
US english
Forward

Use the largest continous free space
Forward

Ready to install
Language english
Keyboard usa
Name etc

Grub will be installed to (hd0)
Partition #2 of IDE1 master (hda) as ext3
Partition #5 of IDE1 master (hda) as swap
Install (this takes some time)
 
Old 03-20-2008, 09:25 AM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Yike: starting from scratch ...

Adding the home folder to your desktop:
- your menus (email) look like an old version. The mag has definitely got a fiddled disk.

before we try anything, go to places, then try dragging the home folder from there to the desktop. (I don't expect it to work, but it used to.)

The menu item you need is probably in Applications > Preferences > Menu Layout ... but I cannot predict what you will find from here. There should be something like what I described (a dialog window with menu items and check boxes) in which case you want to enable the system configuration item and what goes in it.

However - it is possible that the menu configuration tool is not installed... which pretty much fubars that line of inquirey.

Fortunately, you don't need that to get the home folder to your desktop to get the modem working - it's just handy, that's all.

... Modem

Do you still have the scanModem and sl-modem-daemon packages?

You go to places > home - opens the file browser on your desktop, and displays the content of your home directory.

It that window, go to file > create folder - and a new folder appears. Edit it's name - call it "documents". Open it - it's empty.

Put the scanModem and sl-modem-daemon packages there.

(It is a good practise to do your work stuff in a directory where there are no configuration files to mess up by accident. That's why I have you do this.)

Leave the window open. In the top panel, go to Applications > Accessories ... see the terminal icon? Drag it to the desktop - it's useful, we will use this a lot.

Open a terminal.

The terminal is a lot like the old DOS Prompt ... remember DOS? Only it's much more powerful. Many of the skills you learned in dos will work here... for eg. dir will (usually) list the content of the directory and cd will change directory.

Main differences are:
the prompt is a $ instead of a >
there is no C: part - the C-Drive no longer exists - nor does A: B: and D:... none of them.
almost everything is done in lower case - 'cause it's quieter. Trust me on this.
case is important - Documents is different from documents.
we use a / where DOS uses a \

Enter
$ ls

you should see the files in your home directory, including "documents". this is the same thing as "dir" only on steroids.

$ cd documents

you have to enter the exact names, add or miss anything will fail.
note: cd /documents in different from cd documents, the latter is what you want.

$ ls

this will now show you the scanModem script and the sl-modem-daemon packages.

$ tar xvzf scanModem.<stuff>.tar.gz

you can use the file browser window to rename the scanModem.<stuff> file that just appeared to just plain scanModem. (note: you should see two files called scanModem.<stuff>, one of them has a .tar.gz ending, the other one doesn't. You want to rename that other one.)

Go back to the terminal

$ sudo chmod +x scanModem

this is to turn the script into an executable file. In DOS you'd do this by giving it a .exe extension - unix doesn't really care about the file extension, they are mostly there for humans to read.

$ sudo ./scanModem

Go back to the file browser - look for a file called "modemdata.txt". That's the one I need.

Use you talents to find a way to copy it, in it's entirety, to your reply in this thread, or email it to me and I'll do it.

I won't go any further for fear of confusing you.
 
Old 03-22-2008, 03:15 PM   #15
cctv
LQ Newbie
 
Registered: Mar 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I used scanModem installations instruction from linmodems.technion.

gunzip scanModem.gz
chmod +x scanModem
./scanModem

Mail ModemData.txt


Only plain text email is forwarded by the Discuss@Linmodems.org List Server,
as HTML can contain viruses. Use as the email Subject Line:
YourName, YourCountry kernel 2.6.22-14-generic
With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
YourCountry will enable Country specific guidance. Your contry's local Linux experts
can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org are sometimes blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org
-------------------------- System information ----------------------------
CPU=i686,
Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007
scanModem update of: 2008_03_04
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0

There are no blacklisted modem drivers in /etc/modprobe* files

The Advanced Linux Sound Architecture (ALSA) packages providing audio support,
also includes drivers for some modems. The ALSA diagnostics are written during
bootup to /proc/asound/ folders.


The ALSA verion is 1.0.14
The modem cards detected by "aplay -l" are:
card 1: Modem [SiS SI7013 Modem], device 0: Intel ICH - Modem [SiS SI7013 Modem - Modem]

The /proc/asound/pcm file reports:
-----------------------
00-01: Intel ICH - MIC ADC : SiS SI7012 - MIC ADC : capture 1
00-00: Intel ICH : SiS SI7012 : playback 1 : capture 1
01-00: Intel ICH - Modem : SiS SI7013 Modem - Modem : playback 1 : capture 1

about /proc/asound/cards:
------------------------
0 [SI7012 ]: ICH - SiS SI7012
SiS SI7012 with STAC9750,51 at irq 16
1 [Modem ]: ICH-MODEM - SiS SI7013 Modem
SiS SI7013 Modem at irq 16


The driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m 18572 5
snd_ac97_codec 100644 4 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0
snd_pcm 80388 8 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd 54660 23 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 11400 5 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_pcm
----------
provide modem + audio support.

Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 534d and 0:7e = 4c62
are translated from hexadecimal code into the modem chip identifier: SML62

USB modem not detected by lsusb

For candidate card in slot 00:02.6, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:02.6 1039:7013 1631:3054 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller

Modem interrupt assignment and sharing:
16: 392 IO-APIC-fasteoi SiS SI7012, SiS SI7013 Modem
--- Bootup diagnostics for card in PCI slot 00:02.6 ----
[ 20.236134] ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 16
[ 20.236144] ACPI: PCI interrupt for device 0000:00:02.6 disabled
[ 39.423050] ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 16

The PCI slot 00:02.6 of the modem card may be disabled early in
a bootup process, but then enabled later. If modem drivers load
but the modem is not responsive, read Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
if help is needed.



=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===


Predictive diagnostics for card in bus 00:02.6:
Modem chipset detected on
CLASS="Class 0703: 1039:7013"
NAME="Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller "
PCIDEV=1039:7013
SUBSYS=1631:3054
IRQ=16
SOFT=1039:7013.MC97
CODECd=SML62
IDENT=slmodemd
COD=SML
Driver=snd-intel8x0m

For candidate modem in: 00:02.6
Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller
Primary PCI_id 1039:7013
Subsystem PCI_id 1631:3054
Softmodem codec or chipset from diagnostics: SML62
from Archives:



Lacking a dsp (digital signal processing) chip, the modem is a software
intensive or "softmodem" type. Its primary controller manages the traffic
with the CPU. But the software needed is specified in the Subsystem.
-----------------------------------------
Support type needed or chipset: slmodemd

An ALSA (Advanced Linux Sound Architecture) modem driver: snd-intel8x0m
provides Low Level support enabling contact with the modem hardware.
For all BUT Conexant chip soft modems (using hsfmodem software)
complementary High Level support is through a Smartlink utility: slmodemd

Download from http://linmodems.technion.ac.il/packages/smartlink/
the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack under Linux with:
$ tar zxf SLMODEMD.gcc4.1.tar.gz
and read instructions therein. But briefly, the modem is setup with command:
sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
reporting dynamic creation of ports:
/dev/ttySL0 --> /dev/pts/N , with N some number
Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

----------------end Softmodem section --------------
Writing Smartlink.txt
============ end Smartlink section =====================

Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed: 4.1.3
and the compiler used in kernel assembly: 4.1.3



Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.1
linuc_headers base folder /lib/modules/2.6.22-14-generic/build

However some compilations and executable functions may need additional files,
in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ .
For martian_modem, additional required packages are libc6-dev (and for Debian/Ubuntu, linux-libc-dev). The also required headers of package libc6 are commonly installed by default.



If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$ apt-get update
$ apt-get -s install linux-kernel-devel
will install needed package
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
-rwsr-xr-- 1 root dip 269256 2007-10-05 08:57 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
http://linmodems.technion.ac.il/linm.../msg02637.html

To enable dialout without Root permission do:
$ su - root (not for Ubuntu)
sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
sudo chmod a+x /usr/sbin/pppd

Checking settings of: /etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

In case of a message like:
Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/biga.../msg04656.html

Read Modem/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2008-03-22 20:10 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2008-03-22 20:10 /dev/ttySL0 -> /dev/pts/0
Within /etc/udev/ files:
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-baseptions snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-baseptions snd-via82xx-modem index=-2
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
Within any ancient /etc/devfs files:

Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------
 
  


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
unable to get printer (even tho drivers are installed) to work with Xandros eyoung651 Linux - Newbie 2 01-30-2008 12:34 PM
Puppy Linux 2.1 now works with LT Modem Dial-Up!!! john biles General 0 09-15-2006 09:17 PM
everything works, thanks to xandros Motown Linux - Laptop and Netbook 3 11-30-2004 01:50 PM
Dial Up Internet in China only works with XP elevel Linux - Networking 4 10-08-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration