Installing a Texas Instruments CDC Abstract Modem (USB) (Motorola W388 mobile phone) on fedora 10
by Shubhojeet Ghosh
Hi,
When I plug in my phone Motorola W388 . Can i configure fedora 10 to
use the modem.
The modem works in windows but it requires a device driver
PhSerUsb.sys to set it as a serial device and responds to serial
queries on COM 03 and it needs another set of drivers to register it
as a modem on windows. Drivers are provided by motorola.
What makes me hopeful is the bInterfaceClass = Communication
and bInterfaceSubClass = Modem (Abstract)
on the lsusb -v output.
Will I be able to use it on Linux ?
Kindly guide me on how to do that if possible ?
lsusb -v gives the output
Bus 003 Device 002: ID 22b8:4181 Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x22b8 Motorola PCS
idProduct 0x4181
bcdDevice 0.01
iManufacturer 1 Motorola
iProduct 2 W388
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 9 TI Modem
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 0 None
iInterface 5 TI Modem Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
lsmod gives the output:
Module Size Used by
cdc_acm 17668 0
fuse 49436 2
i915 53380 1
.................
however /dev and subdirectories does not have any ttyACMXX .
15 years, 2 months
Task list shows all process
by Boggiano
Hi all,
is it possible to force the "task list" on the toolbar to show only the
windows in the corrent view of the pager ?
Thanks
Alessandro
15 years, 2 months
what is the origin of NM_CONTROLLED=no
by Mark Ryden
Hello,
I have two installations of f10, which are quite new.
I looked in /etc/sysconfig/network-scripts/ifcfg-eth0.
On one I have:
NM_CONTROLLED=
On the second
NM_CONTROLLED=no
AFAIK, when using default installation, it does
give you:
NM_CONTROLLED=
as in the first machine.
I wonder:
what did I do that caused it to be changed to
NM_CONTROLLED=no
on the second machine ?
I don't remember that I did it manually.
Could it be as a result of chkconfig someService off ?
Rgs,
Mark
15 years, 2 months
Re: Website Login Missing
by g
Virtual Guy wrote:
> On the website woot.com (domain allowed in NoScripts) the login link
> does not appear on the page. In IE 7, it does. Is the problem with
> Firefox 3, or with the site?
using:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121700
Red Hat/3.0.5-1.el5_2 Firefox/3.0.5
w/
NoScript 1.9
to see login prompt, i have to enable 'allow all this page'.
using just 'allow scripts', or woot.com in 'whitepages', does not show
login prompt.
problem is in page using googleapis.com, not a java problem.
--
peace out.
tc,hago.
g
.
****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today
**
to mess up a linux box, you need to work at it;
to mess up an ms windows box, you just need to *look at* it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****
15 years, 2 months
Samba and network browsing
by Rahul Tidke
Hello,
I am using samba-3.0.24-11.fc6 for my workgroup with user security level
simple setup and samba works fine; I have two network interfaces
eth0(internal LAN) & eth1(external), the problem I face is whenever my
internet disconnects and link on eth1 goes down my samba also hangs and
windows clients are unable to access samba shares (probably they could not
find the samba server), I thought this is due to smbd and nmbd listening on
both interfaces eth0 and eth1, so I tried setting following parameters in
smb.conf:
hosts allow = 192.168.10.0/24 127.0.0.1
local master = yes
os level = 65
interfaces = eth0 lo (so that samba will not listen on eth1)
bind interfaces only =yes
but my problem still continues inspite of above settings, but if I execute
"ifdown eth1" (when internet disconnects on eth1) command samba restores its
state immediately and now all
clients can access the shares normally.
What parameters I need to set in order to operate samba normally on
interface eth0 only and ignoring the status of eth1?
Is this a firewall issue? (I have setup nat; see below my iptables/nat conf)
Is this NAT problem?
Why samba is not respoding to clients when eth1 goes down?
Please help.
Netstat command output:
[root@matrix ~]# netstat -tapn | grep smbd
tcp 0 0 192.168.10.254:139 0.0.0.0:*
LISTEN 3199/smbd
tcp 0 0 127.0.0.1:139 0.0.0.0:*
LISTEN 3199/smbd
tcp 0 0 192.168.10.254:445 0.0.0.0:*
LISTEN 3199/smbd
tcp 0 0 127.0.0.1:445 0.0.0.0:*
LISTEN 3199/smbd
tcp 0 12 192.168.10.254:445 192.168.10.251:19464
ESTABLISHED 9517/smbd
tcp 0 0 192.168.10.254:445 192.168.10.102:1046
ESTABLISHED 9580/smbd
[root@matrix ~]# netstat -apn | grep nmbd
udp 0 0 192.168.10.254:137 0.0.0.0:*
3203/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:*
3203/nmbd
udp 0 0 192.168.10.254:138 0.0.0.0:*
3203/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:*
3203/nmbd
unix 2 [ ] DGRAM 20850 3203/nmbd
Iptables configuration:
# Generated by iptables-save v1.4.1.1 on Sat Dec 27 11:26:07 2008
*nat
:PREROUTING ACCEPT [19:1945]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [4:290]
-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A POSTROUTING -o eth1 -j MASQUERADE
#-A POSTROUTING -o eth1 -j SNAT --to-source 203.129.225.54
#-A POSTROUTING -o eth1 -j SNAT --to-source 192.168.1.5
#-A POSTROUTING -o eth1 -j SNAT --to-source 59.90.140.72
COMMIT
# Completed on Sat Dec 27 11:26:07 2008
# Generated by iptables-save v1.4.1.1 on Sat Dec 27 11:26:07 2008
*filter
:INPUT DROP [79:8157]
:FORWARD DROP [0:0]
:OUTPUT DROP [12:1482]
:okay - [0:0]
-A INPUT -i eth0 -p udp -m udp --sport 67:68 --dport 67:68 -j ACCEPT
-A INPUT -s 192.168.10.0/24 -i eth0 -j ACCEPT
-A INPUT -s 127.0.0.1/32 -i lo -j ACCEPT
-A INPUT -s 192.168.10.254/32 -i lo -j ACCEPT
-A INPUT -s 203.129.225.55/32 -i lo -j ACCEPT
-A INPUT -s 59.90.140.72/32 -i lo -j ACCEPT
-A INPUT -s 192.168.1.5/32 -i lo -j ACCEPT
-A INPUT -d 192.168.10.255/32 -i eth0 -j ACCEPT
-A INPUT -d 203.129.225.55/32 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -d 59.90.140.72/32 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -d 192.168.1.5/32 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i eth1 -p tcp -m tcp --dport 21 -j okay
-A INPUT -i eth1 -p tcp -m tcp --dport 20 -j okay
-A INPUT -i eth1 -p tcp -m tcp --dport 22 -j okay
-A INPUT -i eth1 -p tcp -m tcp --dport 80 -j okay
-A INPUT -p UDP -i eth0 --destination-port 53 -j ACCEPT
-A INPUT -p UDP -i eth1 --destination-port 53 -j ACCEPT
-A INPUT -i eth1 -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -i eth1 -p icmp -m icmp --icmp-type 11 -j ACCEPT
-A FORWARD -i eth0 -j ACCEPT
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -s 127.0.0.1/32 -j ACCEPT
-A OUTPUT -s 192.168.10.254/32 -j ACCEPT
-A OUTPUT -s 203.129.225.55/32 -j ACCEPT
-A OUTPUT -s 59.90.140.72/32 -j ACCEPT
-A OUTPUT -s 192.168.1.5/32 -j ACCEPT
-A okay -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
-A okay -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A okay -p tcp -j DROP
COMMIT
# Completed on Sat Dec 27 11:26:07 2008
# Generated by webmin
*mangle
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed
Regards,
Rahul.
15 years, 2 months
OpenLDAP, OpenSSL, and Fedora 10 Stop Liking One Another ?
by Oscar Plameras
1. System1 - I had 3 test servers running OpenLDAP-2.3.30-3.fc6,
OpenSSL-0.9.8b-15.fc6 on Linux-2.6.22.14-72.fc6.
And these were perfectly running with OPENSSL configured on
'slapd.conf' as follows:
lines cut
#
#
TLSCACertificateFile /etc/CA/cacert.pem
TLSCertificateFile /etc/pki/tls/newcert.pem
TLSCertificateKeyFile /etc/pki/tls/newkey.pem
#
#
lines cut
When I do,
#service ldap restart, and #ps -ax I have this
slapd -h ldap:/// ldaps:/// -u ldap
I can do simple unsecured or secured queries from here.
1. System2 - Now, I upgraded 2 test servers running
OpenLDAP-2.4.12-1.fc10, OpenSSL-0.9.8g-12.fc10 on
Linux-2.6.29-159.fc10.
Suddenly I can't start slapd correctly. The problem is after
configuring 'slapd.conf' with OPENSSL, as I did in System1 and I
do a
#service ldap restart, and #ps -ax
I found that I only have this process running:
slapd -h ldap:/// -u ldap. The ldaps:/// process did not start
suggesting I have incorrect certificates.
But I can confirm that my certificates are correct with several tests.
I had expected this process:
slapd -h ldap:/// ldaps:/// -u ldap.
So, when I do TLS secured query like:
#ldapwhoami -x -H ldaps://hostname
I got this:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Has anyone had this problem on FC10 ?
Notes:
1. I can run this manually: #/usr/sbin/slapd -h ldap:/// ldaps:/// -u
ldap and saw slapd -h ldap:/// ldaps:/// -u ldap in my #ps -ax
I can do #ldapwhoami -x. But when I do a #ldapwhoami -x -H
ldaps://hostname I go error message can't connect to server.
2. I can run this manually: #/usr/sbin/slapd -h ldaps:/// -u ldap
I can then test my certificates correctly but SSL does not appear to
have been started.
15 years, 2 months
Re: fedora-list Digest, Vol 60, Issue 17
by Kirk
I've got "GCC version 4.3 hared support library, libgcc-4.3.2-7 (i386)".
There are several more that aren't installed, any suggestions?
> Message: 4
> Date: Tue, 3 Feb 2009 22:43:59 +0100
> From: Zacharie Elcor <zelcor(a)gmail.com>
> Subject: Re: VBox Error: VERR_VM_DRIVER_NOT_INSTALLED
> To: kirk202(a)q.com, "Community assistance, encouragement, and advice
> for using Fedora." <fedora-list(a)redhat.com>
> Message-ID:
> <d66636f60902031343v4d61cd1bkf1329c357f01f7c7(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> are you sure gcc is installed ?
>
> On Tue, Feb 3, 2009 at 9:38 PM, kirk Ziegler <kirk202(a)q.com> wrote:
>
> > I removed VBox and reinstalled it but got the same thing.
> > I've installed DKMS and kernel-devel as suggested.
> > I got this error when I clicked the start button in VBox:
> >
> > VERR_VM_DRIVER_NOT_INSTALLED Fedora 10
> >
> > The final error message said to see the
> > var/lib/dkms/vboxdrv/2.1.2/build/ for more information, which says:
> >
> > DKMS make.log for vboxdrv-2.1.2 for kernel 2.6.27.12-170.2.5.fc10.i686
> > (i686)
> > Tue Feb 3 11:43:46 MST 2009
> >
> > /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
> > line 25: gcc: command not found
> >
> > /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
> > line 26: gcc: command not found
> > make: gcc: Command not found
> > make: Entering directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
> > LD /var/lib/dkms/vboxdrv/2.1.2/build/built-in.o
> > CC [M] /var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o
> > /bin/sh: gcc: command not found
> > make[1]: *** [/var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o]
> > Error 127
> > make: *** [_module_/var/lib/dkms/vboxdrv/2.1.2/build] Error 2
> > make: Leaving directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
> >
> > I think my problem is with a gcc command but I don't have a clue what
> > this is.
> >
> > Hope someone can help me with this.
> > Thanks, Kirk Ziegler
15 years, 2 months
VBox Error: VERR_VM_DRIVER_NOT_INSTALLED
by Kirk
I removed VBox and reinstalled it but got the same thing.
I've installed DKMS and kernel-devel as suggested.
I got this error when I clicked the start button in VBox:
VERR_VM_DRIVER_NOT_INSTALLED Fedora 10
The final error message said to see the
var/lib/dkms/vboxdrv/2.1.2/build/ for more information, which says:
DKMS make.log for vboxdrv-2.1.2 for kernel 2.6.27.12-170.2.5.fc10.i686
(i686)
Tue Feb 3 11:43:46 MST 2009
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
line 25: gcc: command not found
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
line 26: gcc: command not found
make: gcc: Command not found
make: Entering directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
LD /var/lib/dkms/vboxdrv/2.1.2/build/built-in.o
CC [M] /var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[1]: *** [/var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o]
Error 127
make: *** [_module_/var/lib/dkms/vboxdrv/2.1.2/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
I think my problem is with a gcc command but I don't have a clue what
this is.
Hope someone can help me with this.
Thanks, Kirk Ziegler
15 years, 2 months
Re: fedora-list Digest, Vol 60, Issue 18
by Kirk
I solved my problem with "yum install gcc"
Thanks, Kirk
On Tue, 2009-02-03 at 18:45 -0500, fedora-list-request(a)redhat.com wrote:
> Message: 5
> Date: Tue, 03 Feb 2009 16:18:15 -0700
> From: kirk Ziegler <kirk202(a)q.com>
> Subject: Re: fedora-list Digest, Vol 60, Issue 17
> To: fedora-list(a)redhat.com
> Message-ID: <BLU0-SMTP40A81055FD71C9715777FEEFC20(a)phx.gbl>
> Content-Type: text/plain
>
> I've got "GCC version 4.3 hared support library, libgcc-4.3.2-7
> (i386)".
> There are several more that aren't installed, any suggestions?
>
>
> > Message: 4
> > Date: Tue, 3 Feb 2009 22:43:59 +0100
> > From: Zacharie Elcor <zelcor(a)gmail.com>
> > Subject: Re: VBox Error: VERR_VM_DRIVER_NOT_INSTALLED
> > To: kirk202(a)q.com, "Community assistance, encouragement, and
> advice
> > for using Fedora." <fedora-list(a)redhat.com>
> > Message-ID:
> > <d66636f60902031343v4d61cd1bkf1329c357f01f7c7(a)mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > are you sure gcc is installed ?
> >
> > On Tue, Feb 3, 2009 at 9:38 PM, kirk Ziegler <kirk202(a)q.com> wrote:
> >
> > > I removed VBox and reinstalled it but got the same thing.
> > > I've installed DKMS and kernel-devel as suggested.
> > > I got this error when I clicked the start button in VBox:
> > >
> > > VERR_VM_DRIVER_NOT_INSTALLED Fedora 10
> > >
> > > The final error message said to see the
> > > var/lib/dkms/vboxdrv/2.1.2/build/ for more information, which
> says:
> > >
> > > DKMS make.log for vboxdrv-2.1.2 for kernel
> 2.6.27.12-170.2.5.fc10.i686
> > > (i686)
> > > Tue Feb 3 11:43:46 MST 2009
> > >
> >
> > /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
> > > line 25: gcc: command not found
> > >
> >
> > /usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh:
> > > line 26: gcc: command not found
> > > make: gcc: Command not found
> > > make: Entering directory
> `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
> > > LD /var/lib/dkms/vboxdrv/2.1.2/build/built-in.o
> > > CC [M] /var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o
> > > /bin/sh: gcc: command not found
> > > make[1]: ***
> [/var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o]
> > > Error 127
> > > make: *** [_module_/var/lib/dkms/vboxdrv/2.1.2/build] Error 2
> > > make: Leaving directory
> `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
> > >
> > > I think my problem is with a gcc command but I don't have a clue
> what
> > > this is.
> > >
> > > Hope someone can help me with this.
> > > Thanks, Kirk Ziegler
>
15 years, 2 months
C++ noshowbase ignored
by Michael D. Berger
In FC7, the line"
...
cout << "a = 0x" << setfill('0') << hex << noshowbase <<
setw(8) << a << dec << setfill(' ') << endl;
...
results in:
a = 0x0x91a1218
Is there something I can do about this?
Thanks,
Mike.
15 years, 2 months