*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 [2] 3
Print
Author Topic: Dial-up with xo  (Read 26148 times)

#15 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
June 02, 2008, 11:39:10 AM

I bought the Zoom 56k USB modem.  I think I managed to install the drivers that came on a CD with the product.  There were some errors, but when I tried to install again, it indicated that it was already installed (other programs that I have installed have given me such errors but worked fine anyway).  But I can't figure out how to dial with it.  Do I need to download a special dialing interface?  I am using dual boot sugar and xfce (on fedora). 

What is the exact model of the modem? Usually you either don't have to install any drivers for Linux (they come with the kernel) or driver installation involves recompiling the driver -- and then THERE SHOULD BE NO ERRORS.

Please don't report anything as "some errors" -- it's important what the error messages actually said. This is not Windows -- take into account that there is a good chance that what you are writing will be seen, or sent to the people who wrote those error messages, or at least someone who will read the the driver's source to see what exactly happened.
Logged

#16 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 06, 2008, 02:10:26 PM

Runnng teapot's Unbuntu Hardy, I tried to install the drivers for a Zoom 3095 USB modem.

I get  the following errors:

No pre-built modules for: Ubuntu-8.04.1 linux-2.6.22-20071231.2.olpc.83e0631da83a269 i586

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

ERROR: /lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build points to a missing directory

lrwxrwxrwx 1 root root 68 Aug  5 12:04 /lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build -> ../../../usr/src/kernels/2.6.22-20071231.2.olpc.83e0631da83a269-i586

Please install the 'linux-headers-2.6.22-20071231.2.olpc.83e0631da83a269' package. You can install
it with the 'apt-get install linux-headers-2.6.22-20071231.2.olpc.83e0631da83a269' command.

When I try to install the package I get:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package linux-headers-2.6.22-20071231.2.olpc.83e0631da83a269

Is there a particular source I can fiind this file?
Logged

#17 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 06, 2008, 04:26:41 PM

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package linux-headers-2.6.22-20071231.2.olpc.83e0631da83a269

Is there a particular source I can fiind this file?

In
http://dev.laptop.org/~dilinger/stable/kernel-devel-2.6.22-20071231.2.olpc.83e0631da83a269.i586.rpm

You will need to install a copy of kernel sources or at least headers used to build your kernel -- my installation procedure copied the kernel image from NAND instead of installing it as a package. You will need kernel-devel package installed when booted from the original NAND flash, and copied to SD card. After installation of that rpm under Sugar and booting into Ubuntu copy /media/olpcmtd0/versions/running/usr/src/kernels to /usr/src (use cp -a to copy everything under that directory).

I am working on releasing a packaged kernel for Ubuntu, so it will come with everything packaged in the same manner.
Logged

#18 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 06, 2008, 06:37:16 PM

teapot,

Thank you for your help.  I downloaded and installed the kernel-devel file.  But when I rebooted into Hardy there was no kernels directory in the place you indicated.

When I did the installation I just did:

rpm -i

and then the file name.  Was that the right thing to do?
Logged

#19 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 06, 2008, 08:08:16 PM

teapot,

Thank you for your help.  I downloaded and installed the kernel-devel file.  But when I rebooted into Hardy there was no kernels directory in the place you indicated.

When I did the installation I just did:

rpm -i

and then the file name.  Was that the right thing to do?

Check where /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build link points to, and copy from there (plus /media/olpcmtd0/versions/running/ prefix) to the same location on SD (under / when in Ubuntu), and change /lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build symlink to point to that directory unless it already points there.
Logged

#20 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 06, 2008, 08:35:06 PM

teapot,

Thank you for your help.  I downloaded and installed the kernel-devel file.  But when I rebooted into Hardy there was no kernels directory in the place you indicated.

When I did the installation I just did:

rpm -i

and then the file name.  Was that the right thing to do?

Check where /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build link points to, and copy from there (plus /media/olpcmtd0/versions/running/ prefix) to the same location on SD (under / when in Ubuntu), and change /lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build symlink to point to that directory unless it already points there.

I see a file called !build in that directory, but mc can't look at its contents.  How do I determine what it points to?

There are other files in that directory with names that start with "modules..." and one called !source.
Logged

#21 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 06, 2008, 11:05:21 PM


I see a file called !build in that directory, but mc can't look at its contents.  How do I determine what it points to?

There are other files in that directory with names that start with "modules..." and one called !source.

ls -l /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build

Exclamation signs are not a part of file name, they indicate that it's a broken link.
Logged

#22 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 07, 2008, 06:47:03 AM

This seems to point to the empty directory:

root@OLPC:/home/olpc#  ls -l /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build   
lrwxrwxrwx 1 root root 68 Jan 17  2008 /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build -> ../../../usr/src/kernels/2.6.22-20071231.2.olpc.83e0631da83a269-i586
Logged

#23 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 07, 2008, 08:51:38 PM

This seems to point to the empty directory:

root@OLPC:/home/olpc#  ls -l /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build   
lrwxrwxrwx 1 root root 68 Jan 17  2008 /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build -> ../../../usr/src/kernels/2.6.22-20071231.2.olpc.83e0631da83a269-i586


Have you installed kernel-devel rpm from terminal in Sugar?
You can install it directly under Ubuntu -- install rpm package if it isn't instaled already, then run

sudo rpm -ivH --nodeps somedirectory/kernel-devel-2.6.22-20071231.2.olpc.83e0631da83a269.i586.rpm

I have just tested it, and it places the files under the same directory where "build" link points to, so it  should work.
Logged

#24 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 11, 2008, 02:56:37 PM

This seems to point to the empty directory:

root@OLPC:/home/olpc#  ls -l /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build   
lrwxrwxrwx 1 root root 68 Jan 17  2008 /media/olpcmtd0/versions/running/lib/modules/2.6.22-20071231.2.olpc.83e0631da83a269/build -> ../../../usr/src/kernels/2.6.22-20071231.2.olpc.83e0631da83a269-i586


Have you installed kernel-devel rpm from terminal in Sugar?
You can install it directly under Ubuntu -- install rpm package if it isn't instaled already, then run

sudo rpm -ivH --nodeps somedirectory/kernel-devel-2.6.22-20071231.2.olpc.83e0631da83a269.i586.rpm

I have just tested it, and it places the files under the same directory where "build" link points to, so it  should work.

I just tried to install it in Ubuntu and got:

error: can't create transaction lock on /var/lib/rpm/_db.000
Logged

#25 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 11, 2008, 03:59:14 PM

I wonder if one of the dgcmodem packages here would work better for my Zoom 3095:

http://www.linuxant.com/drivers/dgc/downloads.php
Logged

#26 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 11, 2008, 04:19:40 PM

I just tried to install it in Ubuntu and got:

error: can't create transaction lock on /var/lib/rpm/_db.000


Check if /var/lib/rpm directory exists, and if you are running rpm as root.
Logged

#27 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 11, 2008, 05:47:52 PM

I just tried to install it in Ubuntu and got:

error: can't create transaction lock on /var/lib/rpm/_db.000


Check if /var/lib/rpm directory exists, and if you are running rpm as root.

Yes.  After I posted my message I Googled the error messaage.  One of the things I found suggested checking for that directory.  I added it, but still for the same error message.

I did "sudo su" and gave my password at the beginnng of that Terminal session.
Logged

#28 Re: Dial-up with xo

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 11, 2008, 07:20:06 PM

I just tried to install it in Ubuntu and got:

error: can't create transaction lock on /var/lib/rpm/_db.000


Check if /var/lib/rpm directory exists, and if you are running rpm as root.

Yes.  After I posted my message I Googled the error messaage.  One of the things I found suggested checking for that directory.  I added it, but still for the same error message.

I did "sudo su" and gave my password at the beginnng of that Terminal session.

Then you have to run rpm --initdb
Logged

#29 Re: Dial-up with xo

colinwhipple
Senior Contributor
**
Posts: 105


August 12, 2008, 10:28:59 AM

I restored an earlier version of Ubuntu, with less other software installed, no thunderbird, no cheese, about  the  only thing beyond the basics is midnight commander.

I did "sudo su" and entered my password at the prompt.

This time the kernel-devel rpm installed fine.  So I ran:

rpm -i dgcmodem.i386.rpm

I got:

warning: dgcmodem.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5dfbf7dc
error: Failed dependencies:
   pciutils is needed by dgcmodem-1.01-1.i386
   gcc is needed by dgcmodem-1.01-1.i386
   /bin/sh is needed by dgcmodem-1.01-1.i386

So I did:

apt-get install gcc

and stuff got installed.  I saved the messages and can post if they are needed.

Then I did:

apt-get install pciutils

and got a message saying the latest version was already installed.

At that point I reran:

rpm -i dgcmodem.i386.rpm

and got the same failed dependencies message as before.
Logged
Pages: 1 [2] 3
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 43
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 24
Total: 24