WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mobile Broadband  (Read 8120 times)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Mobile Broadband
« on: December 03, 2011, 04:48:56 PM »
I am planning to move to mobile broadband. I have it working with Linux Mint. I would like to get it working with Tinycore. I have not been successful yet.

I also think mobile broadband should be made easy for all Tinycore users who want it.

When it is easy to use, it should be included in the multicore iso.


As I said, I don't have it working, but I am guessing network-manager-gnome may be app to use. Is this correct?

However, I have not been able to get network-manager-gnome working.


Anyone who has mobile broadband working, please share what you did. (I have read the pages in this forum, without success).


People wanting to test mobile broadband, you can probably buy prepaid mobile broadband usb drives quite inexpensively, in most places.
Many people see what is. Some people see what can be, and make a difference.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Mobile Broadband
« Reply #1 on: December 03, 2011, 09:33:14 PM »
I don't think you are going to see Gnome included in multicore.
Multicore is just a tool set to get tc/mc installed.  Anything other
than the default window manager will have to be loaded later.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #2 on: December 03, 2011, 11:36:42 PM »
I don't expect Gnome to be included in multicore, just an easy way to connect mobile broadband.

I think a large proportion of internet users, use mobile broadband.

At this stage, very few of them use Tinycore.
Many people see what is. Some people see what can be, and make a difference.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10974
Re: Mobile Broadband
« Reply #3 on: December 04, 2011, 12:33:57 AM »
The only "easy" tools for mobile sticks are AFAIK network manager gnome, and vodafone mobile connect. I think both require big parts of gnome, and vodafone's tool needs python and friends too.

Perhaps someone has put together something lighter using the collected 3g provider data, I don't know.
The only barriers that can stop you are the ones you create yourself.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #4 on: December 04, 2011, 01:06:00 AM »
I get the impression that network-manager-gnome should run without the Gnome desktop. Is this correct?

It is not working for me.
Many people see what is. Some people see what can be, and make a difference.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #5 on: December 04, 2011, 01:14:46 AM »
Following the info file for network-manager-gnome

If I run

/usr/local/etc/init.d/dbus restart

I get

no /usr/local/bin/dbus-daemon found; none killed
rm: can't remove '/var/run/dbus/pid': no such file or directory
mkdir: can't create '/var/run/dbus': Permission denied


Then when I run

/usr/local/etc/init.d/NetworkManager start

There are more errors.


There may be dependencies missing from network-manager-gnome.


What can be done to get it working?
Many people see what is. Some people see what can be, and make a difference.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14621
Re: Mobile Broadband
« Reply #6 on: December 04, 2011, 02:10:57 AM »
no /usr/local/bin/dbus-daemon found; none killed
rm: can't remove '/var/run/dbus/pid': no such file or directory
This normal for the first time the dbus daemon is (re)started

Quote
mkdir: can't create '/var/run/dbus': Permission denied
This is because you need to run the command as root or preface it with "sudo"

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #7 on: December 04, 2011, 02:44:21 AM »
It does not work

When running /usr/local/etc/init.d/NetworkManager start

I get

/usr/local/sbin/NetworkManager: error while loading shared libraries: libgudev-1.0.so.0: cannot open shared object file: No such file or directory
Many people see what is. Some people see what can be, and make a difference.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Mobile Broadband
« Reply #8 on: December 04, 2011, 02:45:45 AM »
hi friends

there is a way to connect very easy:
i edited a bunch of config-files that i load with an own meta.tcz
/etc/ppp/*
/etc/resolv.conf
then i load some binaries that i collected, some parts of pppd and usb-modeswitch.
and use three scripts:

pin
#!/bin/bash
sudo echo 'at+cpin="mypin"'>/dev/ttyUSB0

pon
#!/bin/bash
sudo rm -fR /etc/resolv.conf &
sudo ifconfig $(awk -F: '/eth0:|tr.:/{print $1}' /proc/net/dev 2>/dev/null) down
sudo ifconfig $(awk -F: '/eth1:|tr.:/{print $1}' /proc/net/dev 2>/dev/null) down
sudo ifconfig $(awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null) down
sudo pppd -detach connect "chat -v -s -f /etc/ppp/pppscript" &

poff
#!/bin/sh
sudo /usr/local/bin/ppp-off
sleep 1
sudo udhcpc

with these scripts i pass my pin to my umts-modem.
afterwards pon puts my active network-devices down, removes the odd, not fitting resolv.conf and then starts the umts-connection.
poff ends this mobile-connection, and establishes the local-connection with the help of udhcpc.

quick & dirty, but it works very stable.
every hint is welcome to enhance this script or to make this procedure more elegant.
« Last Edit: December 04, 2011, 02:51:37 AM by netnomad »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14621
Re: Mobile Broadband
« Reply #9 on: December 04, 2011, 03:33:16 AM »
error while loading shared libraries: libgudev-1.0.so.0: cannot open shared object file

This is because the udev-lib extension is missing - did you download and load network-manager using the appsbrowser (this would have taken care of downloading/loading udev-lib automatically)?

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #10 on: December 04, 2011, 03:45:22 AM »
Quote
This is because the udev-lib extension is missing - did you download and load network-manager using the appsbrowser (this would have taken care of downloading/loading udev-lib automatically)?

Yes I did install using the appbrowser.

I am checking updates, but I don't think they are a problem.

Do you, or anyone else, get network-manager-gnome working?
Many people see what is. Some people see what can be, and make a difference.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14621
Re: Mobile Broadband
« Reply #11 on: December 04, 2011, 03:54:02 AM »
I think gudev-lib was a separate extension until recently (I may be wrong), so it could be your version of udev-lib needs updating if it is installed?

Edit: ..and no, I never tried network-manager-gnome

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #12 on: December 04, 2011, 03:57:25 AM »
There is a possibility that it does not work, and nobody is using it, so it is not discussed.
Many people see what is. Some people see what can be, and make a difference.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14621
Re: Mobile Broadband
« Reply #13 on: December 04, 2011, 04:00:18 AM »
Maybe - but for sure it won't work without eliminating the missing library message by loading the latest udev-lib  :)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Mobile Broadband
« Reply #14 on: December 04, 2011, 04:01:45 AM »
netnomad

I would need to know exactly what you did to be able to reproduce it, such as what other files you include.

I also don't need to disconnect another network, just connect the mobile broadband.
Many people see what is. Some people see what can be, and make a difference.