Re: Web login

2010-04-13 Thread Peteris Krisjanis
2010/4/13 Mads Kiilerich m...@kiilerich.com:
 As far as I know NetworkManager has no clever support for login to networks
 that seems open but requires login on a web page before it routes anywhere.
 No matter what you are going to use the connection for you thus have to open
 a browser and login before you can do your non-browser-based
 mail/chat/ssh/whatever work. It could be very nice if NM could make that
 more smooth somehow.

 Google finds a student that made a fine attempt:
 http://mail.gnome.org/archives/networkmanager-list/2008-December/msg00115.html
 http://zenit.senecac.on.ca/wiki/index.php/NetworkManager_Web_Authentication

 Clever hacks are also possible in some cases:
 http://prematureoptimization.org/blog/archives/107

 Are there any plans, dreams, thoughts, progress or other info in this area?

 /Mads

Of course, such functionality would be kinda cool. I could imagine it like this:
a) user connects to open network with web interface for username and password;
b) NetworkManager detects it, and offers to enter username and
password and remembers it using gnome-keyring;
c) Next time it logins automatically;

It would request to use libsoup propably for entering user data in
actual page. Also detection of such page could require some smart
hacks, but I think it is doable.

Cheers,
Peter.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Web login

2010-04-13 Thread Peteris Krisjanis
2010/4/13 Mads Kiilerich m...@kiilerich.com:
 Peteris Krisjanis wrote, On 04/13/2010 01:10 PM:
..
 Of course, such functionality would be kinda cool. I could imagine it like
 this:
 a) user connects to open network with web interface for username and
 password;
 b) NetworkManager detects it,

 But how?


Just got it - it is simple as that. Try to open any page you're sure
isn't accessible without authentication. It will redirect to login
page. If there is clear shot that is indeed login page, go ahead. If
not, fall back to current default - do nothing :)

Cheers,
Peter.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Modem ports found only after taking out and placing back in SIM card

2010-03-11 Thread Peteris Krisjanis
Hi everyone!

Lucid, 2.6.31 kernel, Huawei 220. When I attach device after fresh
system restart, it can't find ports - option doesn't kick in
automatically, I can run it only manually. When I take SIM out and
place it back, option kicks in and I can deattach/attach USB modem and
driver is still loaded properly.

I can deal with this annoyance, but this is quite stupid for casual
users. Any ideas what could cause that? Similar problems?

Cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Auto eth0 editing

2010-02-09 Thread Peteris Krisjanis
2010/2/9 Dan Williams d...@redhat.com:
 On Mon, 2010-02-01 at 15:50 +0200, Peteris Krisjanis wrote:
 Hi NM devs!

 I have question - is there any plans to prevent users to edit Auto
 eth0 for their static IP? It is still a very confusing problem. I know
 solution, I know you can mention it in help and troubleshooting, but
 still...

 In what way?  Auto eth0 should be able to be edited, since that's often
 the only connection that applies to the device.  There can be multiple
 connections for each device, with static, DHCP, etc.

Well, current field scenario is this - user sees this connection, edit
it for manual IP, but after reboot it is back to DHCP, so this causes
huge confusion between users. So I suggest that Auto eth0 can be only
disabled, but not edited. If user wants additional connection for
device, it will create it.

Cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Auto eth0 editing

2010-02-01 Thread Peteris Krisjanis
Hi NM devs!

I have question - is there any plans to prevent users to edit Auto
eth0 for their static IP? It is still a very confusing problem. I know
solution, I know you can mention it in help and troubleshooting, but
still...

Cheers,
Perter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: No default route on 3G

2009-12-24 Thread Peteris Krisjanis
2009/12/24 José Queiroz zekk...@gmail.com:
 Hi,

 I'm using Kubuntu 9.10 and NetworkManager from Launchpad PPA (sorry, I
 don't have the exact version number now).

 The wired and wireless networks goes well, but the 3G connection
 doesn't get a default route when connected.

 I think that the problem isn't a bug from Network Manager, but some
 residual configuration, since this notebook was originally installed
 with Kubuntu 9.04 and got upgraded and updated several times.

 Could someone give me some hint on where could I search these configs?

Well, if you have configured your connection in connection editor (I
don't know how it is in KDE 4, I use GNOME myself), you should see it
has DHCP enabled (otherwise just ppp0 interface gets created with
connection). You can check if you get DHCP answer from peer by
checking /var/log/syslog messages for NetworkManager with 'cat
/var/log/syslog | grep NetworkManager'.

Cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


NetworkManager on Karmic Koala (0.8~a~git.20090804) doesn't recognise Mobile modem Huawei E1692 (lsusb shows E620)

2009-08-12 Thread Peteris Krisjanis
Hi there!

Same old story - worked in Jaunty after usb_modeswitch, doesn't in
Karmic. Usb_modeswitch  works properly, dmesg shows serial ports gets
created, but NM remains silent in it's own debug (--no-daemon and
NM_SERIAL_DEBUG used) and I can't connect to mobile broadband profile
I created.mBug reported here:
https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/412362

I just wonder how I could help to get this modem back in the line?
What debug shall I do and report for the record? What code I should
pull and compile? :) I have some expierence with crunching bugs like
this, so give me instructions, I will try to do the rest.

Also another interesting feature of this modem in Jaunty is losing
it's serial ports when mobile connection goes high-way. Only
re-plugging and reswitching helps. Kernel bug? NM problem?

Cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager on Karmic Koala (0.8~a~git.20090804) doesn't recognise Mobile modem Huawei E1692 (lsusb shows E620)

2009-08-12 Thread Peteris Krisjanis
Sorry for trouble, now it works. Karmic packages where set wrong,
without modemmanager package, package upload seemingly fixed this only
yesterday.

Thanks guys for debuging tips, will be useful next time.

Cheers,
Peteris.

2009/8/12 Alexander Sack a...@ubuntu.com:
 one detail ...

 On Wed, Aug 12, 2009 at 12:40:20PM -0500, Dan Williams wrote:

 Modems are handled by ModemManager now, which is more flexible and a
 better architecture for the future.  To figure out what's going on now,
 you'll want to:

 1) Stop NetworkManager

 1a) sudo killall modem-manager
 2) sudo /usr/sbin/modem-manager --debug

 3) Start NetworkManager
 4) Plug in your modem

  - Alexander


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Huawei E1692 is not recognized

2009-07-29 Thread Peteris Krisjanis
Hi Antonio!

Answer is simple - you need usb_modeswitch utility to switch USB
device to modem. I use this modem for my laptop - and it works
beatifully. Just need to run usb_modeswitch everytime I plug it in.
Which is a bummer.

Follow instructions here
http://www.ahmedsoliman.com/2009/07/12/etisalat-usb-modem-on-fedora-11/
and of course put your modem's USB id strings where needed.

Cheers,
Peter.

2009/7/29 antonio montagnani antonio.montagn...@alice.it:
 Yesterday I got a 3G card (Huawei E1692) that is running fine in Windows.
 I connected to my Fedora 11 box (that is fully updated) and tried to create
 a connection: no way, as no modem was available on the list of available
 devices...and I can't see also software included in same dongle

 This is the output of var/log/messages:

 Jul 29 10:55:05 Acer5720 kernel: usb 1-1: USB disconnect, address 2
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: new high speed USB device using
 ehci_hcd and address 3
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: New USB device found,
 idVendor=12d1, idProduct=1446
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: New USB device strings: Mfr=3,
 Product=2, SerialNumber=0
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: Product: HUAWEI Mobile
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: Manufacturer: HUAWEI Technology
 Jul 29 10:55:13 Acer5720 kernel: usb 1-1: configuration #1 chosen from 1
 choice
 Jul 29 10:55:13 Acer5720 kernel: scsi8 : SCSI emulation for USB Mass Storage
 devices
 Jul 29 10:55:13 Acer5720 kernel: scsi9 : SCSI emulation for USB Mass Storage
 devices
 Jul 29 10:55:18 Acer5720 kernel: scsi 8:0:0:0: CD-ROM            HUAWEI
  Mass Storage     2.31 PQ: 0 ANSI: 2
 Jul 29 10:55:18 Acer5720 kernel: scsi 9:0:0:0: Direct-Access     HUAWEI  SD
 Storage       2.31 PQ: 0 ANSI: 2
 Jul 29 10:55:18 Acer5720 kernel: sr1: scsi-1 drive
 Jul 29 10:55:18 Acer5720 kernel: sr 8:0:0:0: Attached scsi generic sg3 type
 5
 Jul 29 10:55:18 Acer5720 kernel: sd 9:0:0:0: [sdc] Attached SCSI removable
 disk
 Jul 29 10:55:18 Acer5720 kernel: sd 9:0:0:0: Attached scsi generic sg4 type
 0

 and this is the output of lsusb:
 lsusb
 Bus 002 Device 003: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
 Bus 002 Device 002: ID 0471:200d Philips
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 002: ID 045e:00a4 Microsoft Corp.
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 any idea???
 --
 Antonio M
 Mob.+393386586046
 Skype: antoniomontag
 SIP: antoniomon...@talk.fedoraproject.org

 ==
 Mail by Thunderbird 3.0 Websurfing by Firefox 3.0
 ==
 Linux Fedora F11 (Leonidas) on Acer 5720
 Linux user number 362582

 www.campingmonterosa.com
 www.roburtennissaronno.com

 ==


 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list




-- 
mortigi tempo
Pēteris Krišjānis
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


How to add support for modem to NM

2009-07-06 Thread Peteris Krisjanis
Hi there!

How can I help to add support for Huawei E1692 modem so it works up to
date in next Ubuntu/Fedora release? This is new one, doing connection
type changing automatically (roaming between UMTS, GPRS and friends).
This is used as prepaid mobile broadband modem, so it will become more
popular. Also I would like to know the steps what I should do to add
any other modem (if it's not supported).

I have instructions for PPP
(http://www.santinoli.com/open/e1692-howto.html), but of course I
would like to use NM.

Cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager's supported Modem list

2009-05-22 Thread Peteris Krisjanis
But it would be hard to make such list looking at the code? If not, I
could try to make such list. It would help Linux support guys
everywhere.

Cheers,
Peter

2009/5/21 Dan Williams d...@redhat.com:
 On Wed, 2009-05-20 at 14:11 +0200, Herriot, Nicholas, VF-Group wrote:
 Hi,

 Is there such a thing as Network Manager's supported USB Modem list?
 And if this is a 'no' what part of the code base do I look at to find
 out the supported modems?

 It depends on a few things...  first, the kernel drivers having the IDs
 for the modems.  In general, NM will support generic modems that use
 ATDT-style connection setup (ie, PPP).  It also supports Option
 'hso'-style modems that use OWAN-style call setup.

 As of 0.7.1, I think we've got support for most of the modems that are
 currently in wide use.  We do occasionally find quirks (like Huawei CDMA
 modems from Reliance India that return COMMAND NOT SUPPORT instead of
 ERROR, for example).

 i.e. is there a 'conf' file with scripts for each modem?

 Nope, they are handled automatically in the code.  Scripts aren't really
 flexible enough, or if they are, they turn into a programming language
 anyway.

 Dan

 Kind regards, Nicholas.


 Nicholas Herriot

 Web Technologies Researcher
 Vodafone Group RD - UK

 www.betavine.net
 www.betavine.mobi (from mobile)

 Mobile: +44 (0) 7717275049
 Fax: +44 (0) 1635 686484

 Vodafone Group Service Limited
 Registered Office: Vodafone House, The Connection, Newbury, Berkshire,
 RG14 2FN
 Registered in England No 3802001
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list




-- 
mortigi tempo
Pēteris Krišjānis
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


What about modems (winmodems/serial)?

2008-11-07 Thread Peteris Krisjanis
Hi people,

Ubuntu has now chosen NM 0.7 as default network management point.
However, there is regression in Ubuntu as you can't configure ppp
devices anymore via GUI.

So question is - is there any plans to add support for old style
modems to NM? If yes, how and when? Thanks for any strip of
information in advance,
cheers,
Peter.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list