MyWireless, Ethernet, Linux

TrXtr, well, now i am even more frustrated :P
had a BAD monday, and worked late, so never got a chance to try again yesterday.

maby i used some setting i didn't need to.
i also used these, and some others.

ppp > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
PPP > set HISADDR

? those apparently for when u get ur ip address assigned ?

when u have power again , could i see your config files ?
/etc/ppp/ppp.conf
and maby just the ifcongig parts from
/etc/rc.conf

cause i am also not sure how the nic connected to the modem should be set up ?
 
beergaz, that config look pretty much how mine was ?
i never got as far as seting up routing or anything. ;(

how are ur nics configured ?
since i am now sure that's where i am going wrong.
 
Hey, well, last night I had a bit of time with it.
I started messing around with the ppp, rather than using my config files, just manually playing around.

What I found is that it definitly needs to do chap authentication.
But I'm still trying to udnerstand everything in the man (there's allot in there) but it seems though that it is by default on, aslong as you have authkey and authname. I'm trying to narrow everything down to what is needed. Dont worry about ifaddr and HISADDR for now. That you can do when you figure it all out, those are just making your ipaddress what you want it, and also HISADDR is more for gateway operations.

About nic configuration. (et0 is my network interface)
et0 is not configured, but
before you run ppp, or in your rc.conf
bring it up, in console that would be ifconfig et0 up.
ifconfig et0 to make sure it's up.

this should be fine, from here it uses tunX to talk do the talking ppp over ethernet. But yeah, I'll be investigating this **** for a while.

Btw, I'm no pro at freebsd at all. And because of that, here is a problem I'm running into.

I get my network up and all, I can ping, I even upgraded using sysinstall. I installed links, and if I go to for instance www.google.com, it starts off downloading (get's title of the page)
but then the transfer speed just stop falling (following some kinda tan equation) and goes and actually reches 0) and eventually I get a time out. google actually loaded once, but the rest not a chance, is.co.za is a good example. I installed BitxchX , I can connect to the default BitchX server that it's configured for (I know, I'm banned from #freebsd on it) but any other servers be it undernet, shadowfire, zanet blabbernet, you name it. What happens with the failing ones is that it connects, server sends out some information, but then suddenly everything stops. Server doesnt do everything it has to. To me this says that the connection drops in a very mysterious way.

If any one has an idea where to start please :) It will be appreciated. I think though that it could be related to my ppp config, but I dont know, why could I ftp then ?
 
well , i have a mere 3days freebsd experience :P
just seeing what it's like.
so far seems far less complicated to keep setup and track of.
just what i think so far.

so , u bring ur nic up without giving it an ip address ?

i havn't a freakign clue why ur connection tapers away like that,
i hope i never have that problem. [:)]

anyway, i will try again tonight, barring no more late nights at work.
 
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by mvh</i>
<br />beergaz, that config look pretty much how mine was ?
i never got as far as seting up routing or anything. ;(

how are ur nics configured ?
since i am now sure that's where i am going wrong.

<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

I have 2 NIC's. eth0 is internal and eth1 is external (connected to the modem)

ifcfg-eth0 is:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.10.10.255
IPADDR=10.10.10.254
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes

while ifcfg-eth1 is:

DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes

As you can see, both are started at boot time but eth1 has no IP configuration.
 
ok, thnx ppl.
i am sure i have enough info now to get it to work.
my configs have been so similar though, and all sort of weird variations :P

if it still don't work tonight.... then my cable must be faulty ?
or i am an idiot :P

can't think of anything else.
 
you ppl have no clue!!!

i sugest you try redhat9. i have got almost any device working under that OS. iv been using linux now for 3 years and feel i know a fair deel about it seeing as it is my job and all.

you should try using the ADSL configs under linux. that also uses pppoe. whether it is a adsl modem or your wireless stuff it does not matter. plug in configure and ull be set.
 
Dont let me put you where I put the rest of the dead penguins.

I understand if you want to play, but I was kinda thinking of taking the firewall serious, seems so does the rest of us ... so sit down, and play with your toys ... on your own ... all silently...
:D
 
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by mvh</i>
<br />

ppp &gt; set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
PPP &gt; set HISADDR

? those apparently for when u get ur ip address assigned ?

<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

You should not be playing with those in interactive mode, you should just setup ppp.conf as instructed and use 'ppp <b>-background</b> my-isp-tag' (or even with -auto) and check /var/log/ppp.log for failure messages.

<hr noshade size="1">
"Since light travels faster than sound, people appear bright until you hear them speak."

NetLink Research
 
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">
You should not be playing with those in interactive mode, you should just setup ppp.conf as instructed and use 'ppp <b>-background</b> my-isp-tag' (or even with -auto) and check /var/log/ppp.log for failure messages.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Ok make me understand why ;) please ;)
From what I understand (and Ive been reading man, so lotta place for misunderstanding) is that ifaddr is used when ppp configures the ethernet device, and HISADDR is for a kinda like ipforwarding thing.
So why does it make a difference where you use it ?
(Not trying to be an ass... I'd like to know how this stuff works)
 
erm, well the idea is that you just say "Um ok were supposed to use that then" and leave it the hell alone if you dont understand it.

Otherwise, its the default route settings which get replaced with the end point addresses of the PPP tunnel. (Basicly, leave it the !@#$ alone)

<hr noshade size="1">
"Since light travels faster than sound, people appear bright until you hear them speak."

NetLink Research
 
Ah ok ;)
Youre right, there is no reason to play with them, since they definitly will work expectedly.

But I'm still using ppp from interactive conosle, you can turn logging
on from within it,
it's quicker for me to play with, without using current ppp configurations.

But yea ;) I do agree on what you say in the end.
hehe ... Ooooh ooh have to do this .... :)
If youre such a pro ... why havent you solved my problem yet ? :)
hehe j/k
 
well, still no luck.

it doesn't even get a carrier signal.
 
ok, just uninstalled everything, and tried to setup everything
in xp for the ethernet cable, still didn't work.
so i guess cable or modem is funny.
i give up for now :P
(the thought of phoning support with this not really appealing)
 
k..I'm just gonna repeat this quickly:
Have you enabled your account using a Windows PC,USB connection and the software that came on the CD ??

--
 
What the previous guy said, have you registered. Anyways, if you cant get it going through windows ... you gonna have problems.
Even though I havent done it in windows ... everything in windows always works ;) hehe

Anyways ... Ive got electricity So coming as follows.

firstly a very good article I'm reading right now, wich talks about my problem of browsing and losing packets. Also included is a very well done config script, even though I dont know why they dont use ddial rather than background.
http://www.daemonnews.org/200101/pppoe.html

Now my configuration files...
I know they work, I'm connecting to the machine from work with ssh.

----&gt; /etc/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device PPPoE:ep0
set speed sync
enable dns
set ctsrts off

papchap:
set authname user
set authkey pass

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
-----------------------------------------------------------------
------------ rc.conf --------------------------------------------

ifconfig_ep0="up"

ppp_mode="ddial"
ppp_enable="YES"

-----------------------------------------------------------------
I use ddial, my understanding is that it will always try to reconnect on disconnection, will it retry till death does the modem part?

Anyways, anyone that knows this stuff, please comment about it,
as I'm, still trying to get optimal configuration

Something else in there is setting the mtu down to 1450,
you'll get a warning if you dont. anyways,
check examples in the above link where it tells you the right amount,
wich is the same with our modems.

And further more, as I said, I wasnt getting proper downloads with http or whatever, the link just dies... and well, it seems this page has my solution, so I'm overly excited.

Later
 
yeah , i did register using usb, the cd and the modem.
if that is why pppoe doesn't work now, my side or other side.

that would be really super duper UBER GAY!!!
but at least then i know why it doesn't work.
 
Well, you gonna need to start checking.
Does your network card work ? :) hehe...
do you see the light ?
Does freebsd pick it up ?
Test it with a crossover to check if you can communicate over it.
If the above section works...
Then it's just a question of debugging in ppoe
What does your ppp logs say btw ? turn All on.
i think it's set log all, something like that.

And further read the article I mentioned above ...
those people seem l33t hehe.
Well, busy doing config on my side.
anyways later
 
bwaaaaaa ;( ;( I have to recompile the kernel.
basicly, some nice guys created a fix for the problem with our modems (the sice of mtu and mru ... not the 'it doesnt work' one)
And well, it requires ipfw. Wich is fine I geuss since I need it in the end anyway...
But I was really trying to avoid this :) hehe
Cool ...this is the first time ever I'm gonna recompile my kernel...
Think I can do it without screwing up possibility to connect remotely ? :) hehehe

funky funky
 
Top
Sign up to the MyBroadband newsletter
X