Linux - HOWTO (With Stats)

Status
Not open for further replies.
Linux Newbie - Some Assistance Please!

Hi forum

I would like to use Linux for something very specific - could the Linux experts point me in the right direction?

I would like to use an old P3 machine as my 3G dialer, firewall (IPCOP) and gateway providing internet access to client machines via a wireless access point. How do I go about this? I have a UBUNTU 6.06 Linux install.

I am quite hardware literate (like I know I need a PCI-PCMCIA) converter etc., so the help is generally to do with drivers, software & configs etc. and I know I have a steep learning curve ahead.

Thanks

Soon-to-be Linux convert...
 
Tazz:

graeme@Sevenworth:~/Install$ make
Warning: Compiling for 2.6:
make -C /lib/modules/2.6.15-23-386/build SUBDIRS=/home/graeme/Install modules
make: *** /lib/modules/2.6.15-23-386/build: No such file or directory. Stop.
make: *** [default] Error 2
graeme@Sevenworth:~/Install$

This is what I get when I try to compile the driver.
 
sevenworth: you need to have the Kernel "development" package installed...
probably called kernel-devel-xx or something like that..
Not sure of the exact procedure for getting it in Ubuntu...
 
sevenworth: you need to have the Kernel "development" package installed...
probably called kernel-devel-xx or something like that..
Not sure of the exact procedure for getting it in Ubuntu...

Ok guys, I got it dialling.

Heres the log:

root@Sevenworth:/home/graeme# wvdial hsdpa internet 3gonly
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+COPS=0,0,"Vodacom-SA",2
AT+COPS=0,0,"Vodacom-SA",2
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
AT+CGDCONT=1,"IP","internet";
OK
--> Modem initialized.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
root@Sevenworth:/home/graeme#
 
Hi All

Thanks for the thread, I have really learned so much from it. My problem however is that I am the new linux kid on the block and know absolutely didly squad about it other than I would like to use it. I currently use suse 10.1 and have followed all the suggestions plus numerous others but to no avail.

I can connect from linux laptop using my Nokia 9500 on GPRS and further from my linux desktop box through a home networked windows laptop at HSDPA. I would however like to be able to connect using my HSDPA Card from a suse 10.1 linux box.

Has anyone managed to pull this off or provide assistance. It will be greatly appreciated

Warm Regards

Leigh
 
Tazz & All

Pop the champagne... I connected hsdpa on Ubuntu Dappe Drake on Saturday morning, and it works at blistering fast speeds. there's no way my cap is going to last...

for those of you still trying, don't give up. its worth it in the end. just write down what you do, because I cant remember what i did to get mine right, and as such, am going to be of very little help to anyone else...not very good at all. but i will try to find out.
 
Hey sevenworth,

Well done man !!!!!!!!!!!!!!!!!!!

Glad to see another on board :D

Laterz !

Tazz & All

Pop the champagne... I connected hsdpa on Ubuntu Dappe Drake on Saturday morning, and it works at blistering fast speeds. there's no way my cap is going to last...

for those of you still trying, don't give up. its worth it in the end. just write down what you do, because I cant remember what i did to get mine right, and as such, am going to be of very little help to anyone else...not very good at all. but i will try to find out.
 
Hey AK65,

IPCOP - afaik *is* a linux distro on it's own, and a very nice firewall setup. What card are you gonna use, since most of them require some software tweaking.

As for the rest, a P3 will do just fine, slap some ram in there (>512 would be my suggestion) and off you go :D

Laterz !

Hi forum

I would like to use Linux for something very specific - could the Linux experts point me in the right direction?

I would like to use an old P3 machine as my 3G dialer, firewall (IPCOP) and gateway providing internet access to client machines via a wireless access point. How do I go about this? I have a UBUNTU 6.06 Linux install.

I am quite hardware literate (like I know I need a PCI-PCMCIA) converter etc., so the help is generally to do with drivers, software & configs etc. and I know I have a steep learning curve ahead.

Thanks

Soon-to-be Linux convert...
 
Hey Leigh,

Anything can be done :)

Give us some details about your setup - card, linux version, updates installed etc :)

Laterz !

Hi All

Thanks for the thread, I have really learned so much from it. My problem however is that I am the new linux kid on the block and know absolutely didly squad about it other than I would like to use it. I currently use suse 10.1 and have followed all the suggestions plus numerous others but to no avail.

I can connect from linux laptop using my Nokia 9500 on GPRS and further from my linux desktop box through a home networked windows laptop at HSDPA. I would however like to be able to connect using my HSDPA Card from a suse 10.1 linux box.

Has anyone managed to pull this off or provide assistance. It will be greatly appreciated

Warm Regards

Leigh
 
Tazz...

How would I now go about creating some kind of "batch file" desktop icon that runs the terminal, inserts the module and dials the connection...?

Rgds,
SW
 
@Tazz

Thanks for your reply - I have just checked, and yes, you are right, IPCOP is a complete Linux distro on its own. I'll have to nag somebody with bandwidth to dl it for me. I think that simplifies things quite a bit, except for the 3G card setup which I hope will be possible with your post. And maybe the DHCP and WAP setup, which won't be so simple.

Ubuntu wasn't so cool (the GUI crashed on the 2nd reboot), and I installed Suse 10, but that seems way too corporate and desktop orientated for what I want to do.

When I get the IPCOP download and have installed, I'll post on my progress. I'll also PM you, if you don't mind, since I'm in the same area.......

AK65
 
Hey sevenworth,

Linux doesn't have "batch" files - it has scripts - scripts are cool !!! :D

Anyways - make a file on the desktop, call it what you like but end on .sh (general rule for script files)

Edit it and make the first line:

#!/bin/bash

And that is it - everyline below that will run as if you type it on the command line. So...

#!/bin/bash
sudo -i
modprobe bla
wvdial bla bla bla

should do it for you :)

Laterz !

Tazz...

How would I now go about creating some kind of "batch file" desktop icon that runs the terminal, inserts the module and dials the connection...?

Rgds,
SW
 
No problems !

@Tazz

Thanks for your reply - I have just checked, and yes, you are right, IPCOP is a complete Linux distro on its own. I'll have to nag somebody with bandwidth to dl it for me. I think that simplifies things quite a bit, except for the 3G card setup which I hope will be possible with your post. And maybe the DHCP and WAP setup, which won't be so simple.

Ubuntu wasn't so cool (the GUI crashed on the 2nd reboot), and I installed Suse 10, but that seems way too corporate and desktop orientated for what I want to do.

When I get the IPCOP download and have installed, I'll post on my progress. I'll also PM you, if you don't mind, since I'm in the same area.......

AK65
 
Hey sevenworth,

Linux doesn't have "batch" files - it has scripts - scripts are cool !!! :D

Anyways - make a file on the desktop, call it what you like but end on .sh (general rule for script files)

Edit it and make the first line:

#!/bin/bash

And that is it - everyline below that will run as if you type it on the command line. So...

#!/bin/bash
sudo -i
modprobe bla
wvdial bla bla bla

should do it for you :)

Laterz !

Thanks dude, will do. :D
 
@Tazz

Thanks for your reply - I have just checked, and yes, you are right, IPCOP is a complete Linux distro on its own. I'll have to nag somebody with bandwidth to dl it for me. I think that simplifies things quite a bit, except for the 3G card setup which I hope will be possible with your post. And maybe the DHCP and WAP setup, which won't be so simple.

Ubuntu wasn't so cool (the GUI crashed on the 2nd reboot), and I installed Suse 10, but that seems way too corporate and desktop orientated for what I want to do.

When I get the IPCOP download and have installed, I'll post on my progress. I'll also PM you, if you don't mind, since I'm in the same area.......

AK65

AK:

Instead of Downloading Linux distros, you could pop around to your nearest Freedom Toaster with a couple of blank cds/dvds. I've taken the liberty of checking on www.freedomtoaster.org, and durbans toaster is situated at:

EG Malherbe Library
Howard College Campus
University of Kwazulu-Natal
King George V Avenue.

(Hopefully this is near to you)

This is how I got most of the available distributions of Linux and decided on the one that suits me best.

Go well. :D

p.s. its free to pull distros off a freedom toaster.
 
Hey Tazz_Tux,

I keep on meaning to mention this..

It appears that the "3gonly" thing (aka AT+COPS) doesn't work on the Novatel Merlin U740..
Or at least it has no effect.. when connecting with it enabled my data card still happily jumps around from GPRS through to HSDPA... :confused:

I only remembered this again cos I'm away from home and I can pickup 3G here...
 
hhhmmm - I saw this problem with the U630 (I think - older card anyways :D) but even after checking the docs the commands where right. As a work around, I found that if the last profile in Windows was 3gonly, under Linux it will pick it up again.

Come to think about it now - I am damn sure I had to go steal a Novatel to test this....I will look into it again :)

Laterz !

Hey Tazz_Tux,

I keep on meaning to mention this..

It appears that the "3gonly" thing (aka AT+COPS) doesn't work on the Novatel Merlin U740..
Or at least it has no effect.. when connecting with it enabled my data card still happily jumps around from GPRS through to HSDPA... :confused:

I only remembered this again cos I'm away from home and I can pickup 3G here...
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X