View Full Version : E1820 on linux (I have fedora 8)
GadgetsPS3
01-12-2010, 11:14 AM
Hi.
Anyone have any luck getting the (cellC) E1820 working on linux.
What drivers are you using?
(I currenly have iBurst on PPPOE) and linux routing with IPTables.
I just need to get the E1820 to dial.
thanks in advance.
The_Librarian
03-12-2010, 08:19 PM
This man deserves a medal.
The 21mbps modem is the E1820 (black) and the 7.2mbps modem is the E1752 (white). Both will work in Ubuntu if you have 'usb-modeswitch' installed. After that it's just a matter of setting up the connection in network-manager and letting rip. Don't forget to make sure that there's no username or password set up in nm or you'll be in for a whole world of pain.
CellC helpdesk and technical support (and salesdroid) all claim that it won't work under Linux because the modem is designed to work only with Windows. Do not believe them and do not let them convince you otherwise. Both modems work just peachy. Just make absolutely sure with your salesdroid that the SIM is actually activated/provisioned for data access and not merely loaded with the data bundle. Got the T-shirt.
I can't say for the E1752 but the E1820 isn't network-locked. Got an MTN SIM in there at the moment, typing this. I'll check out the E1752 during the week.
*Trybble*
GadgetsPS3
12-12-2010, 06:09 AM
Almost there need little more help!
Firstly thanks for the previous reply.
I move to Ubuntu 10.1 and the modem works a dream.
I setup routing (NAT). My problem now is that every time the modem reconnects I have to recreate default route:
route del default
route add default ppp0
How do I automate this?
thanks in advance
ginggs
12-12-2010, 08:29 AM
I setup routing (NAT). My problem now is that every time the modem reconnects I have to recreate default route:
route del default
route add default ppp0
I've seen this problem on my desktop machine where eth0 is connected to a LAN.
One workaround is to just disable eth0 before establishing the dial-up connection and enable it again afterwards, but this is not very elegant.
What may be the solution is to add 'defaultroute' and 'replacedefaultroute' to your pppd configuration.
From the pppd man pages:
defaultroute
Add a default route to the system routing tables, using the peer as the gateway, when IPCP negotiation is successfully completed.
This entry is removed when the PPP connection is broken. This option is privileged if the nodefaultroute option has been specified.
replacedefaultroute
This option is a flag to the defaultroute option. If defaultroute is set and this flag is also set, pppd replaces an existing default route with the new default route.
The_Librarian
12-12-2010, 09:05 AM
why not just use
ifconfig eth0 down
connect to cellc internet
ifconfig eth0 up
?
GadgetsPS3
12-12-2010, 06:02 PM
Still need it to be automated so that on reboot or cellc connection drop it connectsautomatically.
Where is that pppd? its different now that network manager is installed
The_Librarian
14-12-2010, 09:16 PM
man pppd will give you the information you'll need.