Re: [Astlinux-users] Astlinux-users Digest, Vol 71, Issue 23

2012-06-23 Thread Shamus Rask
That did the trick... thanks!

> Message: 3
> Date: Thu, 21 Jun 2012 21:27:18 -0500
> From: Lonnie Abelbeck 
> Subject: Re: [Astlinux-users] hosts file entries
> To: AstLinux Users Mailing List 
> Message-ID: <638e1a94-4437-4032-b30f-1c89cd28b...@lonnie.abelbeck.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi Shamus,
> 
> After more investigating, there is a simple, more obvious solution.
> 
> If you delete the default "192.168.101.1" entry for the 1st LAN Interface ... 
> IPv4: , { Save Settings }, then Restart DNS & DHCP, your local hostname will 
> be obtained from your upstream DNS server, as you desire for your single 
> interface configuration.
> 
> For the record, for a Single Interface (only External Interface: defined) 
> configuration:
> 
> 1) In the Network tab, make the Hostname: and Domain: match that of the 
> upstream DNS server.
> 
> 2) Uncheck the "Local Domain" box.
> 
> 3) Make sure no IPv4 (or IPv6/nn) addresses are defined in any of the 
> "Internal Interfaces:" section fields.
> 
> Hope that is more clear.  Let me know if that does not solve it for you.
> 
> Lonnie

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Routing between Internal Interfaces

2012-06-23 Thread Lonnie Abelbeck
Hi Graham,

Wow, I had to create a diagram to follow this...

1) I assume you have DHCP on the net4801 "107" network disabled and the pbx 
"107" network enabled.

I think your problem, PC on net4801 "207" network -> pbx 192.168.107.250, the 
pbx's route back to 192.168.207.x is out through the external interface not 
back via pbx's eth1.

So, you need to add a route on your pbx box to route the 192.168.207.x via the 
eth1 network.  On your pbx box, try this:

$ ip route add 192.168.207.0/24 via 192.168.107.249 dev eth1

Give that a try, and if it works, I'll help you make it persistent if you need 
help. Hint: /mnt/kd/rc.elocal

Lonnie


On Jun 23, 2012, at 7:33 AM, Graham S. Jarvis wrote:

> Hello (Lonnie)
> 
> I'm coming back to this one after a while ..
> 
> I have installed a new AstLinux 1.0.3 as a Voip-only network and it's own DSL 
> gateway:
> PC with 2 Ethernet cards
> EXTIF/eth0 EXTIP: 192.168.1.1 <--> 192.168.1.254 (DSL modem-analogue) for 
> VoIP 
> in/out
> INTIF/eth1 INTIP: 192.168.107.250 <--> switch A (for phones)
> 
> and I want to use the old pbx for PC/Server internet only connections (i.e. 
> no 
> VoIP traffic).
> Net4801 (3 Ethernet) AstLinux 0.7.9 Asterisk 1.4.42
> EXTIF/eth0 EXTIP:192.168.1.1 <--> 192.168.1.254 (DSL modem-ISDN) for 
> "Internet"
> INTIF/eth1 INT1IP: 192.168.107.249 <--> switch A
> INT2IF/eth2 INT2IP: 192.168.207.249 <--> switch B (for PC's and other servers)
> 
> The problem I have is two-fold:
> I have WiFi access points on the "207" network that I use for WiFi phones 
> that 
> register to the new pbx on the "107" network.
> I'd like to be able to do admin on the new pbx ("107" network) from my Ubuntu 
> PC 
> on the "207" network.
> 
> As it stands, from my PC, I can connect to the Net4801 (I'm on the same 
> switch) 
> using any of it's IP Addresses:
> 192.168.1.1
> 192.168.107.249
> 192.168.207.249
> but I can't connect to anything else on the "107" network.
> _And neither can the WiFi 'phones_.
> 
> I only need "207" -> "107" routing that should keep the "207" network a bit 
> safer.
> 
> 
> So, here's some more detailed info:
> 
> 4801_GW ~ # ifconfig
> eth0  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CC
>   inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:14637 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:12978730 (12.3 MiB)  TX bytes:1697265 (1.6 MiB)
>   Interrupt:10 Base address:0x8000
> 
> eth1  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CD
>   inet addr:192.168.107.249  Bcast:192.168.107.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:175 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:10500 (10.2 KiB)  TX bytes:624 (624.0 B)
>   Interrupt:10 Base address:0xa000
> 
> eth2  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CE
>   inet addr:192.168.207.249  Bcast:192.168.207.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:15731 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:15033 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:1997007 (1.9 MiB)  TX bytes:13096915 (12.4 MiB)
>   Interrupt:10 Base address:0x2000
> 
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:270 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:30851 (30.1 KiB)  TX bytes:30851 (30.1 KiB)
> 
> 
> 4801_GW ~ # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse Iface
> 192.168.1.0 *   255.255.255.0   U 0  00 eth0
> 192.168.207.0   *   255.255.255.0   U 0  00 eth2
> 192.168.107.0   *   255.255.255.0   U 0  00 eth1
> 224.0.0.0   *   240.0.0.0   U 0  00 eth2
> 224.0.0.0   *   240.0.0.0   U 0  00 eth1
> default 192.168.1.254   0.0.0.0 UG0  00 eth0
> 
> 
> I have ticked "Allow LAN to LAN" for 1st and 2nd LAN interfaces.
> 
> 
> A nice little project for a Saturday morning - looks like I'll still be on it 
> on 
> Monday morning ;)
> 
> -Graham-
> PS: where did the
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
>

Re: [Astlinux-users] Fwd: accessing usb card from net5501

2012-06-23 Thread Darrick Hartman
Using "genkd" is deprecated.  If you read the instructions on the 
http://doc.astlinux.org website, you'll see "genunion" is the preferred method. 
 This allows you to use the internal flash card for both the operating system 
and persistent storage.

Unionfs has been the preferred and only officially supported persistent storage 
method since version 0.6.  You can use a second storage device, but you'll have 
to specify the path to that device.  (since the internal CF slot is seen as 
/dev/sda in the 1.0.x release series, your USB drive is probably showing up as 
/dev/sdb-you'll have to check on your system).

Darrick

From: Fernando F. [mailto:digitaldis...@gmail.com]
Sent: Saturday, June 23, 2012 8:35 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Fwd: accessing usb card from net5501

My permanent storage runs from a usb drive but I did not ran the astlinux 
setup I first let it astlinux come up prompting me to go through the setup 
of the type of storage I wanted and at that point I console in and from there I 
setup the usb drive using genkd... Than I reboot astlinux and went through the 
setup and it automatically found my usb drive for permanent storage.

Thank You,

Fernando Fuentes
DIGITALVOIPNET.COM



On Sat, Jun 23, 2012 at 12:06 AM, Jamshaid Anwar 
mailto:jimy4u2...@gmail.com>> wrote:
-- Forwarded message --
From: Jamshaid Anwar mailto:jimy4u2...@gmail.com>>
Date: Sat, Jun 23, 2012 at 10:05 AM
Subject: accessing usb card from net5501
To: soekris-t...@lists.soekris.com,
soekris-tech-ow...@lists.soekris.com,
soekris-tech-requ...@lists.soekris.com


hellow
i have successfully installed astlinux image on net5501, now in order
to write things on system, i was trying to make this usb port work. i
plug a usb in the port and then give the command 'genkd' . but i get
this type of error ...


pbx ~ # usb 1-1: new high speed USB device using ehci_hcd and address 3
scsi3 : usb-storage 1-1:1.0
scsi 3:0:0:0: Direct-Access Kingston DT 101 II PMAP PQ: 0 ANSI: 0 CCS
sd 3:0:0:0: [sdc] 7936000 512-byte logical blocks: (4.06 GB/3.78 GiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sd 3:0:0:0: [sdc] Attached SCSI removable disk

pbx ~ # genkd
A filesystem on /dev/sda1 is mounted. Aborting.
pbx ~ #



can i have any help with this ??



regards,
Jamshaid Anwar

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Fwd: accessing usb card from net5501

2012-06-23 Thread Lonnie Abelbeck

On Jun 23, 2012, at 12:06 AM, Jamshaid Anwar wrote:
> hellow
> i have successfully installed astlinux image on net5501, now in order
> to write things on system, i was trying to make this usb port work. i
> plug a usb in the port and then give the command 'genkd' . but i get
> this type of error ...

Why not use the CF drive for persistent storage as suggested.

http://doc.astlinux.org/userdoc:new-install

Lonnie



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


[Astlinux-users] Routing between Internal Interfaces

2012-06-23 Thread Graham S. Jarvis
Hello (Lonnie)

I'm coming back to this one after a while ..

I have installed a new AstLinux 1.0.3 as a Voip-only network and it's own DSL 
gateway:
PC with 2 Ethernet cards
EXTIF/eth0 EXTIP: 192.168.1.1 <--> 192.168.1.254 (DSL modem-analogue) for VoIP 
in/out
INTIF/eth1 INTIP: 192.168.107.250 <--> switch A (for phones)

and I want to use the old pbx for PC/Server internet only connections (i.e. no 
VoIP traffic).
Net4801 (3 Ethernet) AstLinux 0.7.9 Asterisk 1.4.42
EXTIF/eth0 EXTIP:192.168.1.1 <--> 192.168.1.254 (DSL modem-ISDN) for "Internet"
INTIF/eth1 INT1IP: 192.168.107.249 <--> switch A
INT2IF/eth2 INT2IP: 192.168.207.249 <--> switch B (for PC's and other servers)

The problem I have is two-fold:
I have WiFi access points on the "207" network that I use for WiFi phones that 
register to the new pbx on the "107" network.
I'd like to be able to do admin on the new pbx ("107" network) from my Ubuntu 
PC 
on the "207" network.

As it stands, from my PC, I can connect to the Net4801 (I'm on the same switch) 
using any of it's IP Addresses:
192.168.1.1
192.168.107.249
192.168.207.249
but I can't connect to anything else on the "107" network.
_And neither can the WiFi 'phones_.

I only need "207" -> "107" routing that should keep the "207" network a bit 
safer.


So, here's some more detailed info:

4801_GW ~ # ifconfig
eth0  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CC
   inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:14637 errors:0 dropped:0 overruns:0 frame:0
   TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:12978730 (12.3 MiB)  TX bytes:1697265 (1.6 MiB)
   Interrupt:10 Base address:0x8000

eth1  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CD
   inet addr:192.168.107.249  Bcast:192.168.107.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:175 errors:0 dropped:0 overruns:0 frame:0
   TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:10500 (10.2 KiB)  TX bytes:624 (624.0 B)
   Interrupt:10 Base address:0xa000

eth2  Link encap:Ethernet  HWaddr 00:00:24:C4:3F:CE
   inet addr:192.168.207.249  Bcast:192.168.207.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:15731 errors:0 dropped:0 overruns:0 frame:0
   TX packets:15033 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:1997007 (1.9 MiB)  TX bytes:13096915 (12.4 MiB)
   Interrupt:10 Base address:0x2000

loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:270 errors:0 dropped:0 overruns:0 frame:0
   TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:30851 (30.1 KiB)  TX bytes:30851 (30.1 KiB)


4801_GW ~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 *   255.255.255.0   U 0  00 eth0
192.168.207.0   *   255.255.255.0   U 0  00 eth2
192.168.107.0   *   255.255.255.0   U 0  00 eth1
224.0.0.0   *   240.0.0.0   U 0  00 eth2
224.0.0.0   *   240.0.0.0   U 0  00 eth1
default 192.168.1.254   0.0.0.0 UG0  00 eth0


I have ticked "Allow LAN to LAN" for 1st and 2nd LAN interfaces.


A nice little project for a Saturday morning - looks like I'll still be on it 
on 
Monday morning ;)

-Graham-
PS: where did the

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Fwd: accessing usb card from net5501

2012-06-23 Thread Jason McCleary
Better way to move things in and out of asterlinux is using WinSCP or a program 
of that type. It is a secure ftp program. And you can move file on and off 
easily. It uses the same root password to login. 

The other SCP programs out there that's just the one I use. 


Thanks,

Jason Mc.

Sent via BlackBerry

-Original Message-
From: "Fernando F." 
Date: Sat, 23 Jun 2012 08:34:37 
To: AstLinux Users Mailing List
Reply-To: AstLinux Users Mailing List 
Subject: Re: [Astlinux-users] Fwd: accessing usb card from net5501

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Fwd: accessing usb card from net5501

2012-06-23 Thread Fernando F.
My permanent storage runs from a usb drive but I did not ran the astlinux
setup I first let it astlinux come up prompting me to go through the
setup of the type of storage I wanted and at that point I console in and
from there I setup the usb drive using genkd... Than I reboot astlinux and
went through the setup and it automatically found my usb drive for
permanent storage.

Thank You,

Fernando Fuentes
DIGITALVOIPNET.COM




On Sat, Jun 23, 2012 at 12:06 AM, Jamshaid Anwar wrote:

> -- Forwarded message --
> From: Jamshaid Anwar 
> Date: Sat, Jun 23, 2012 at 10:05 AM
> Subject: accessing usb card from net5501
> To: soekris-t...@lists.soekris.com,
> soekris-tech-ow...@lists.soekris.com,
> soekris-tech-requ...@lists.soekris.com
>
>
> hellow
> i have successfully installed astlinux image on net5501, now in order
> to write things on system, i was trying to make this usb port work. i
> plug a usb in the port and then give the command 'genkd' . but i get
> this type of error ...
>
>
> pbx ~ # usb 1-1: new high speed USB device using ehci_hcd and address 3
> scsi3 : usb-storage 1-1:1.0
> scsi 3:0:0:0: Direct-Access Kingston DT 101 II PMAP PQ: 0 ANSI: 0 CCS
> sd 3:0:0:0: [sdc] 7936000 512-byte logical blocks: (4.06 GB/3.78 GiB)
> sd 3:0:0:0: [sdc] Write Protect is off
> sd 3:0:0:0: [sdc] Assuming drive cache: write through
> sd 3:0:0:0: [sdc] Assuming drive cache: write through
> sdc: sdc1
> sd 3:0:0:0: [sdc] Assuming drive cache: write through
> sd 3:0:0:0: [sdc] Attached SCSI removable disk
>
> pbx ~ # genkd
> A filesystem on /dev/sda1 is mounted. Aborting.
> pbx ~ #
>
>
>
> can i have any help with this ??
>
>
>
> regards,
> Jamshaid Anwar
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.