You are not logged in.

#1 2010-04-27 15:09:31

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

[solved] internet isp

I am in Iraq currently and connect to the internet by trying to go to a webpage, having it redirect me to the provider's webpage, logging into that webpage, and then being able to surf the internet. I can do this transparently in #! but not Arch for some reason. I'd like to figure out WHAT this is even called so that I can fix it or if a fix already exists, applying it.

Want Arch back
BK

[SOLVED]
i switched from dhcpcd to dhclient, went into my /etc/rc.conf and disabled the network entries for eth0 and wlan0 (per the wicd wiki page) and then disabled the daemons in the array as per the wicd wiki. the FIX was when i switched to dhclient, though because all of those additions aside, it didn't work initially until i told wicd to use dhclient instead of dhcpcd!

YAY I HAVE ARCH BACK NOW!! WOO HOO!!

Last edited by BKLive (2010-04-29 15:12:20)


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#2 2010-04-27 15:46:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] internet isp

It's called a captive portal.

No idea what you mean by #! but if it's a distro, find out how it does it, and make Arch do the same.

Offline

#3 2010-04-27 15:47:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] internet isp

It's called a captive portal.

No idea what you mean by #! but if it's a distro, find out how it does it, and make Arch do the same.

<edit> OK, it's Crunchbang. smile

Offline

#4 2010-04-27 16:04:37

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [solved] internet isp

Okay, next is how do I make Arch connect to it? It's unclear how #! does this. Seems automagical.

Googling until a solution appears


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#5 2010-04-28 03:36:58

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: [solved] internet isp

BKLive wrote:

Okay, next is how do I make Arch connect to it? It's unclear how #! does this. Seems automagical.

Googling until a solution appears

What is #! ?

Do you mean some sort of shell script? (guessing)

Anyway you might be able to set up a script which will automatically attempt to initiate the connection for you.  You could perhaps write it in perl or lisp and have it execute once the network adapter is up and/or at certain intervals.  It could be done in theory as a long as there is no strong captcha or the like.  For example, see: http://dave.frop.net/automatically_logi … wmechanize (not written by me, I only link to it.  I feel I should clarify due to the common name)

Also keep in mind that often these portals will authenticate you for a certain amount of time before requiring reauthentification. So depending on the sequence if you use a different OS but say the same adapter it might work without requiring it again (say if you are dual booting).

Offline

#6 2010-04-28 15:11:54

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [solved] internet isp

#! => crunchbang linux

and by "do this for me" i don't mean i don't know how to connect to a proxy, I mean that when I open firefox in crunchbang it goes straight to the captive portal page to log into their authentication method. when i open firefox in arch linux it says "not found" and "work offline" because it is not resolving, or authenticating, or forwarding, or whatever-ing to make it get to the captive portal page. i even typed in the address to the portal's authentication page and nothing happened. won't connect. like there's no internet. dhcp gets an address, open firefox, nothing.


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#7 2010-04-28 15:22:42

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved] internet isp

Are you using different dns servers in arch and #! ? (Check /etc/resolv.conf)

Offline

#8 2010-04-28 15:32:16

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [solved] internet isp

well currently #! is showing

nameserver 172.30.1.1

and the chroot arch environment says

nameserver 172.30.1.1

which was generated from dhcpcd, which i ran in a chroot environment. wait one while i check!

<edit>
alright when i logged into my arch partition (actually restarting into it) it comes up with the same resolv.conf entry, but still no connection. i think it might have to do with browser security settings, but i'm not 100%

Last edited by BKLive (2010-04-28 15:45:40)


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#9 2010-04-28 18:43:07

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: [solved] internet isp

check your default route, and see if u can ping the portal (if pinging is allowed on it), also, post your ifconfig output and route -n output as well.

Offline

#10 2010-04-29 07:47:01

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [solved] internet isp

pinging does not work because you have to get to the portal page first before you can resolve hostnames which it will not do

to be more clear: DHCP will route me to their gateway and assign me an IP address within its network. HOWEVER! when i try and go to a webpage which would otherwise send me to the main authentication page: NOTHING. i cannot use ping, w3m, wget, or any other CLI internet tool because i'm unauthenticated and it WILL NOT route me to their page. NOTHING WILL. i used to be able to go through links in gentoo and get to the authentication page that way because i had no X, but Arch will not do this AT ALL.

<Later>
I checked archbang's rc.conf file and it's different than mine. trying to figure out why since i and archbang use wicd as the network manager, and i think the differences might be the "clinchers". once i'm done downloading the beta of archbang (fallback plan) then i'm going to switch back over and see if it works

Last edited by BKLive (2010-04-29 14:28:20)


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

Board footer

Powered by FluxBB