Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - pixelator

Pages: 1 [2] 3 4 5
FANTASTIC!!!!  ;D   Pixelator thanks.

Happy see your making progress.  :D

Do I have to run "pon dsl-provider" everytime I reboot or shutdown the server?
unfortuniately, Yes... unless you edit a networking file or two.

If pppoe does not start automatically, you can try editing your /etc/network/interfaces and make sure that 'pppoe maintained' lines are before 'auto dsl-provider' similar to
Code: [Select]
# added by pppoeconf
auto eth0
iface eth0 inet manual
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

If that does not work, you can try to edit /etc/rc.local, and before the last line ("exit 0"), add:

Code: [Select]
ifconfig eth0 up
pon dsl-provider

Word of caution: before you make any changes to these files, make a copy/backup of them in case you need to restore them. After you make any changes, remember to restart networking.

Installation issues / Re: IP Camera Instalaltion
« on: October 23, 2007, 10:01:16 pm »
try plugging the camera into a LAN port on your switch (assuming you have one).


I think it would probably be easier to change that value in the web-admin, simply lookup the core in the devices tree and under "Device data" you should find a field called "Network Interfaces", change eth0 to ppp0 there and Bob's your uncle.

Good call Zaerc. That's good to know.
I wasn't even aware that it could be done that way. To be honest, you'd need a PhD to understand all the available details and settings you can find in the admin pages.  ;D

Either way, ""Six Of One, A Half Dozen Of The Other"... but it is probably safer to do it from the web-admin.

Developers / Re: Asterisk - chan_zap support missing ???
« on: October 23, 2007, 12:28:01 am »
Check if it is in linuxmce svn tree otherwise from unbuntu i guess

Sorry, what I meant was that I went into the LMCE SVN trunk but there is an asterisk dir in both the /ubuntu and the /src brances.

I'm not sure which one I need, or if I need both.
It looks like the /ubuntu branch contains patch files?  ???

Pixelator thanks. I appreciate the help.

When I get the PPOE info from VZ. (the techs are actually pretty decent) What do I do with the info?  ???

to get PPPOE set up:

run pppoeconfig from a terminal and follow the on-screen instructions.
It will ask for your account name and password provided by VZ.

Then there is the small tricky part of manually editing the MySql table containing the interface connection info.
First you need to get into mysql using a terminal and use this command
Code: [Select]
mysql use pluto_main
then display the contents of the Device_DeviceData table to get your current network settings stored in LMCE by applying the following command at the mysql prompt:
Code: [Select]
select * from Device_DeviceData where FK_Device=1 and FK_DeviceData=32;
My results looked like this
Code: [Select]
| FK_Device | FK_DeviceData | IK_DeviceData                             | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
|         1 |            32 | eth0,dhcp|eth1,, |   NULL |      NULL |     NULL |          0 | 20070405221738 |         NULL |

the important piece here is the IK_DeviceData field value:   eth0,dhcp|eth1,,

this field contains the network interface info that LMCE uses. Each interface is seperated by a "|" character.
for my two interfaces the field contains "eth0,DHCP" and "eth1,, "
The trick is to make sure you change the interface info for you external interface to "ppp0"
in my case, the external interface was eth0 so I needed to change the field value from "eth0,dhcp|eth1,,", to "ppp0,dhcp|eth1,,"

note the difference between eth0 and ppp0.
To make this change in the mysql table, you would execute the sql command
Code: [Select]
update Device_DeviceData set IK_DeviceData="ppp0,dhcp|eth1,," where FK_Device=1 and FK_DeviceData=32;
then if you execute the sql command
Code: [Select]
mysql> select * from Device_DeviceData where FK_Device=1 and FK_DeviceData=32;
| FK_Device | FK_DeviceData | IK_DeviceData                             | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
|         1 |            32 | ppp0,dhcp|eth1,, |   NULL |      NULL |     NULL |          0 | 20070520193528 |         NULL |

you will notice that eth0 has been updated to ppp0 in the IK_DeviceData field

That's it.

Developers / Re: Asterisk - chan_zap support missing ???
« on: October 22, 2007, 07:07:02 pm »
You can download the sources from svn so you are sure to run the right code.


Do I need asterisk from the src/ branch or from the ubuntu/ branch?

Users / Re: Stupid Mount Question
« on: October 22, 2007, 12:05:05 am »
Can you post the entire mount statement that you used with cifs?


i was assuming he still wanted a dual nic setup. with a dual nic setup, with the fios doing the wan and the external linuxmce nic connected to the fios, he would use have to use a different subnet on both the wireless stuff and the stuff on the linuxmce internal network right? if it was on the same subnet it would get as far as linuxmce and linuxmce would say it must be on here but i dont see it so i wont forward it anywhere else. is that wrong?

No, not entirely wrong. But my argument is that doing so will un-necessarily complicate the network and setting it up that way is beyond the intention of LMCE.

i didnt realize that the fios used pppoe. i was thinking that hed have to use the fios to connect ....he said there was a cable...thought he meant something other than cat5 type. i do see what youre saying about the fios being just a wap. sorry...didnt know you didnt have to use the fios router for the wan.

I am 99.9% sure it does use PPPOE. The cable (non-ethernet/cat5) connected to the fios router is for other fios bundled services. TV/Phone - but these are seperate networks and AFAIK do not crossover to the ethernet network.

so i was misunderstanding how he should set it up cause i was thinking that the fios router was necessary but apparently not. the fios router doesnt work as a type of modem also? does he have a fios router and some sortof modem also? if he uses linuxmce as the wan gateway what does the wan side connect to?

If he is able to assign PPPOE to the Core, then he should be able to put that in place of the VZ router for WAN/LAN routing. As far as a "modem" the answer is no... The actiontec is an enterprise class router built to spec for VZ, there is no modem involved with FIOS. FIOS does not require the signal conversion that a modem provides.

Users / Re: Maker Faire / LinuxMCE demo setup starts today!
« on: October 19, 2007, 10:30:41 pm »
Do you have some documentation about the hardware in the stuff you'll be demo'ing?

Good luck with the demo!

Yes.. please share.. ;)

Good luck with the demo!

i meant as far as linuxmce handing out dhcp for them. youd have to use dhcp with the fios router and have it route through the linuxmce box.

No. everything is on the same LAN, same network, same subnet. he can disable DHCP at the FIOS router and allow the Core to do it (single nic core behind the fios router)

hed need a different subnet for the wireless stuff then. that would make things more difficult for him.

No different subnet needed. I think your over-complicating this.

also, unless he turned off the firewall completely, he would have a lot of trouble connecting anything to anything through the linuxmce firewall to the rest of the internal network.

If the Core is set up behind the VZ router, then nothing will be routed through the core and the Core fire wall is taken out of the picture.

If he is going to set it up with the Dual NIC option then the Core will replace the VZ router as the WAN gateway. The VZ router would then be recommissioned as nothing more than a wireless AP/LAN switch on his LAN.

unless he used a single nic install and everything was connected behind the fios. the way he had the diagram he wanted an internal and external.

I'm not sure he "wanted" it that way or is simply not aware of how to properly set it up.
DeadPenguin said: "I am not very good with anything network related ergo the "retarded" comment."

Either way it won't happen within the context of LMCE unless he uses the Core to replace the VZ router as the WAN gateway.
There is no benefit to having dual nics in the core if it resides entirely on the LAN side.
The use of dual nics assumes that the core is also being used as the WAN gateway.

so if he used the external to connect to the fios router and the internal gave out the dhcp and ran the rest of the network that way, hed have more work to get it to route between the external and internal networks. is that right or am i missing something?

Again the Dual NIC assumes there is a WAN and LAN interface which LMCE will route between. But because as it stands now, the VZ router is managing the routing between the wan and lan, there is no need for the dual nic on the core. You cannot have a WAN and LAN interface on the same network. The external interface cannot have an internal IP and cannot be on the same subnet/netmask.

oh yeah...i forgot you were using the fios router for your wireless too. so having it in front of the linuxmce would keep you from using them on the regular internal network that everything else was on.

Not true. If the VZ Router was being used as the WAN gateway then anything on the LAN side can communicate. Remember the VZ router is also capable of LAN switching (built in 4 port wired switch and wireless). You can put everything behind the VZ router and make it work..BUT... if you do it this way, then you will only be able to make use of a single NIC on the core because the core will not be doing the WAN/LAN routing.

Looking at your diagram, I don't see how that is working.
The VZ Fios router needs to be your gateway routing between the LAN and WAN (unless you can get the core to manage PPPOE to Verizon)

The VZ FIOS router of choice is the actiontec MI-424-WR which has one WAN port and 4 LAN ports (build in switch).
So... The easiest choice for you (in my opinion) would be to use the the Core as your PPPOE gateway, and place the VZ router on your LAN as a wireless AP (assuming verizon will allow the use of their equipment this way). Deploying this method, you would need to disable the default routing nature of the VZ Router and use it a simple switching device with wireless networking enabled. Check the documentation of the router for that info.

Using Dual NICS

Another option if you are unable to use the VZ router this way is to use only one NIC on the core and place it on you LAN. You can still allow the Core to manage you DHCP this way as well.

Using Single NIC

Developers / Re: Asterisk - chan_zap support missing ???
« on: October 18, 2007, 09:48:42 pm »
Quote from: rafik24
an idea,

 recompille asterisk and use configure --prefix=/usr so you will relace the existing binaries,
i think this will be transparent to pluto since it wraps asterix and will call the new binaries.

Ok...the more I thought about it, maybe this is something that would work. The only thing I am concerned with is
i think this will be transparent to pluto since it wraps asterix and will call the new binaries.

Can anyone [developers] confirm that it's that simple.
I read in the wiki that LMCE uses the stock Ubuntu asterisk package with some add-ons and custom AMP package.
Will recompiling the ubuntu asterisk to include chan_zap break the add-ons and / or custom AMP package?

If your wireless nodes are connecting directly to your fios router, I assume they also can connect to the internet?

Technically, everything behind your VZ router is the LAN. The VZ router seperates the WAN and LAN. This is a bit different from cable and DSL services which use a modem and allow you to seperate that from your LAN. The LMCE dual nic setup assumes there is an internal (lan) interface and external (wan) interface that it will route between.
Because your core is techically on the LAN, you cannot route between the external (eth0) and internal (eth1) interfaces because they are on the same subnet/netmask.

Concerning your set up, you will either need to place the core in front of the VZ router (wan side) to use the dual nic setup [this will require you to contact VZ and get their WAN connection info - I believe FIOS still uses PPPOE for their inet services], or connect the eth1 interface directly to your LAN switch and disable eth0 (external interface).

The other thing that could be an issue with VZ is that they also route their On-Demand and Guide Data for TV services through their router [at least on the vz fios installs I have seen] and I don't know hoe that will effect the placement of the core in front of the VZ router. Logically, if the network is set up correctly, this should not be an issue.

One of the quirks with LMCE managing DHCP and not being the gateway is that it will also tell network nodes to use it [core] as the DNS server, and the Default gateway so you will need to make some changes to the network files in lmce and possibly manually apply the default GW and DNS info in the network nodes.

It is easier to suggest a solution using a diagram than try to explain it here.
I'll see about designing one and post it here.

Where have i seen you before? you on LQ? or was it Pluto?
I spent time on pluto for a while before switching to LMCE.

Developers / Re: Asterisk - chan_zap support missing ???
« on: October 18, 2007, 12:45:56 am »
Thanks for the suggestion. I would prefer to avoid any hacks and wish to stay with the actual LMCE packages. I have already invested to much time into getting this set up to bork it with a hack. I also worry that a hack that significant might come back and bite me at a later time.

If there is a way to recompile/configure the lmce asterisk and include the chan_zap module, then I would consider that.

Pages: 1 [2] 3 4 5