Koozali.org: home of the SME Server

DSL connection problem

Offline irian

  • *
  • 184
  • +0/-0
DSL connection problem
« on: December 14, 2005, 12:53:38 PM »
I have a DSL modem and the ISP gives an IP via DHCP.
Now I tried to setup SME as Private Server and Gateway.

During installation I have these choices but none work.

1- use dhcp (send account name as client identifier)
2- use dhcp (send ethernet address as client identifier)
3- use ppp over ethernet (pppoe)
4- use static ip adress

The ISP works with DHCP but not with identification as the choices 1 and 2 give me.
This would mean that I have to configure the card for the DSL connection
with DHCP, to get an IP from the ISPs DHCP-server.

How can I set this up?

Irian

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
DSL connection problem
« Reply #1 on: December 15, 2005, 09:15:15 PM »
irian
Your dsl modem do you configure it via web interface.

If you do it will use the ip of something like this 192.168.1.1

So on your sme set to choose static and set it to this 192.168.1.2 next screen to 255.255.255.0 and next screen to the ip adress of your modem ie: 192.168.1.1 ensure you have choosen th correct network card.

Two network cards are required in your server one supplies your internal domain the other is your external or WAN card that connects to your modem.  :pint:
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline irian

  • *
  • 184
  • +0/-0
DSL connection problem
« Reply #2 on: December 16, 2005, 01:00:09 PM »
I cant configure the modem.
It is preconfigured by the ISP specificly for them.

The modem is a modem and not a router.
The modem provides a straight connection to the internet.
When I plug in the patch cable from the modem into my computer I get all the IP numbers from the ISP.
A modem always works this way.

The thing you describe is the setup using a router.
I have 2 nics in the server, else I wouldnt get the 4 choices I mentioned.


Irian

Janm

DSL connection problem
« Reply #3 on: December 16, 2005, 02:57:37 PM »
Hej irian
Try setting the SME to
server and gateway
and get ip via use dhcp (send ethernet address as client identifier)
not -privat server gateway-
then i think its alright
if this dont get it to work
i have an other solution
Jan dk

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: DSL connection problem
« Reply #4 on: December 16, 2005, 03:37:44 PM »
Quote from: "irian"

The ISP works with DHCP but not with identification as the choices 1 and 2 give me.


Are you quite sure? Option 2 is very, very common.

Quote

This would mean that I have to configure the card for the DSL connection
with DHCP, to get an IP from the ISPs DHCP-server.

How can I set this up?


Choose option 2. If it doesn't work, tell us exactly what "doesn't work" means. What do you see? What can you find in the logs related to DHCP? Have you contacted your ISP's support line?

Offline irian

  • *
  • 184
  • +0/-0
DSL connection problem
« Reply #5 on: December 16, 2005, 03:40:48 PM »
Hi JanM,

It does not work by sending ethernet address as client identifier.
The ISP doesnt use this identification method.

I asked the ISP as well.
They say all that the WAN-interface has to do is request an IP using DHCP.
No identification whatsoever is needed.
(It is like a pc in a LAN.)

I will try the send account name as client identifier and just leave them empty.
Maybe that works.

I will post the results here.

Irian

Janm

DSL connection problem
« Reply #6 on: December 16, 2005, 04:01:01 PM »
Stop
put your windows pc online direct
and let it get ip aut via dhcp
and then go in dos promt and write ipconfig /all
and write down what is there or take a screen dump
after that i know what to do i had same problems myself
Jan
you can mail to me direct
mailto:jan@design.jm-data.dk
if uou want

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DSL connection problem
« Reply #7 on: December 16, 2005, 04:51:26 PM »
Quote from: "Janm"

after that i know what to do i had same problems myself


As I've said to you before, please, please, please report the details of the problem via the bug tracker, so that the problem can be found and fixed. Link to the bug tracker is at the left.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DSL connection problem
« Reply #8 on: December 16, 2005, 04:55:48 PM »
Quote from: "irian"

It does not work by sending ethernet address as client identifier.
The ISP doesnt use this identification method.

I asked the ISP as well.
They say all that the WAN-interface has to do is request an IP using DHCP.
No identification whatsoever is needed.
(It is like a pc in a LAN.)


DHCP on the LAN uses the ethernet address as the identifier. DHCP requires an identifier. Usually you don't need to explicitly specify it, because the ethernet address is used.

What logs do you see when you specify option 2 and attempt to connect?

Janm

DSL connection problem
« Reply #9 on: December 16, 2005, 05:10:10 PM »
To Charliebrady
Yes i know that but i dont know why that problem exist
or if it is a problem at all.
All i know is i make a lot of experiment at home with many different servers and other dist and every time i change server i have to do.
1.stop my adsl modem for about 5-10 min
2.go in /etc/dhcpcd and delete the 4 files
eth1.cache
eth1.info
eth1.info.old
eth1..pid
and then restart the server and do
/sbin/dhcpcd -R and then everything is okay again
some thime i have to connect putting my fixed ip in instead
thats my little prob i dont think it has somthing to do with SME server at all
Jan

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DSL connection problem
« Reply #10 on: December 16, 2005, 06:00:14 PM »
Quote from: "Janm"

Yes i know that but i dont know why that problem exist
or if it is a problem at all.
...


Put it in the bug tracker and the developers can dig through the information that you provide and work out what is going on. Don't provide details here. Put it in the bug tracker.

Offline irian

  • *
  • 184
  • +0/-0
DSL connection problem
« Reply #11 on: December 16, 2005, 11:29:10 PM »
I agree with CharlieBrady here.
It should just work and if it doesn't then it needs to be fixed.
It should not be the case that we need to "hack" the system to get it to work.
I feel it was not developed that way.
SME needs to be and stay user- and installation friendly.

I know that DHCP over the LAN uses the ethernet address as an identifier.
That is why I was so confused that it did not work.
I got it up and running now, using the ethernet address as identifier.
But it wouldn't work the first two times I configured it that way.
And then I tried the other choices.
Strange... But I am happy now. :-D

Thanks to you all for your help.
I really appreciate it.

Greetings,
Irian

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DSL connection problem
« Reply #12 on: December 17, 2005, 04:38:03 PM »
Quote from: "irian"

It should just work and if it doesn't then it needs to be fixed.
It should not be the case that we need to "hack" the system to get it to work.


Exactly. Unfortunately we cannot find and fix a problem until we have the cooperation of the original reporter, who needs to act as our eyes and typing fingers until we can replicate the problem ourselves.

Janm, please report the details of your problem to the bug tracker, and then follow up any questions we ask there seeking further informaiton.

Janm

Finaly got it reported
« Reply #13 on: December 18, 2005, 01:08:00 AM »
Hej
Finaly got it reported
bug 346
sorry for the long time it took
but i didnt knew if it was my own fault
Merry Christmas every one from  famely and me
Jan Mortensen
Denmark